Inject Node: modified flow deploy vs. full deploy

#1

When the inject node is set to "once" it fires upon each full deploy but it does not when deploying only the modified flow.
Is there a special reason for this different behavior? Generally speaking I would very much appreciate the Inject node to fire also on modified flow deploys.

0 Likes

#2

Did you modify the flow the Inject node is wired to? If not, then it won't be restarted when you do a modified-flows deploy so it won't trigger. That is what it means when it says only nodes in modified flows will be restarted.

0 Likes

#3

In my tests (NR v0.19.5) I did get following results:

  1. Add a new Inject Node set to "once" to a flow --> Deploy modified flow only --> Inject will fire
  2. Modify existing flow with Inject Nodes set to "once" --> Deploy modified flow only --> Inject will not fire
  3. Modify existing flow with Inject Nodes set to "once" --> Deploy full --> Inject will fire
0 Likes

#4

What modification did you make to the flow? Simply moving a node does not class as a modification to trigger a restart - it has to be a material change to its configuration.

I have just tested on git master and it works as expected.

0 Likes

#5

My test case was crap. Sorry for the noise

0 Likes