Skip to main content
venkatrea696188
June 19, 2023
Question

OutPut Node Behaviour Of Subprocess

  • June 19, 2023
  • 3 replies
  • 0 views

Hi all,

I had a scenario Where i used MNI to start sub process (The sub process creates instance for each item in a parent PV , All at once and moves on each time an instance finished). And Inside sub process i'm just writing to Record , with a wait time which was defined in that parent pv. and i'm mapping output from sub process back on to parent. And on next node i'm appending it to a list. My issue right now was if two sub processes completed at same time one of the two is getting ignored second one getting  appended twice to the list. (i Can't use looping ******, cause i want to process all the data once .)

3 replies

stefanhelzle0001
Brainy
June 19, 2023
venkatrea696188
June 20, 2023

Sorry to say i tried it in my flow. (Still one is getting ignored & Second one's getting appended twice), Where do you think i gone wrong.
 Creating a instance for each record in a process variable(those sub processes gonna get completed by the time specified in it)

i'm appending each output  to another pv.  i tried your solution but still... samething happening (I'm using community edition? is it because of that?

)

mathieud0001
Brainy
June 20, 2023

Have you tried passing your results array (the one you append to) as a reference and appending to that?