How to get sub process value in main process.

Certified Senior Developer

Hi All,

I have main process and calls sup process. Suppose sub process will iterate 10 time and each iteration it will generate new id. I want all new generated id by sub process in main process.

I have implemented output option in sub process but it return only last generated id by sub process.

It is possible to get all the id generated  by sub process in main process.

Regards,

Umesh 

  Discussion posts and replies are publicly visible

Parents Reply
  • 0
    Certified Associate Developer
    in reply to umeshkumars0001

    Hi Umesh,

    Ensure that the new ID generated by the subprocess is an output variable for that subprocess. I am assuming that the pv! in the parent PM which will store all the Ids is of the same type as in the sub PM, then you will need to update the parent PM script task (where the Id is copied from sub PM to parent PM ) output Operator have the the "is appended to list" selected. refer the image below.

Children
No Data