Skip to main content
simonj3483
January 11, 2023
Question

SubProcess outputs

  • January 11, 2023
  • 9 replies
  • 1 view

Hello,

can someone help with this issue.

I have a process model that retrieves data into  a variable defined as a multiple of CDT.

The variable is then passed as a parameter to a sub-process, and because it is a CDT and may change it is also defined in the sub-process outputs.

I can see multiple records being passed correctly to the sub-process but when the sub-Process ends, the output only has one record.

Both variables in the main process and sub process are of the same type and have been defined as multiple.

I can see in the process history of the sub-process that the CDT has two records, and this does not change and that the main model starts with two records and is changed to one after the call to the sub-process

Any ideas why data is being lost?

Many thanks

SimonJ

    9 replies

    alexandru.boerescu
    January 11, 2023

    Could you provide a screenshot of the mapping on the output variables from the subprocess task?

    simonj3483
    January 11, 2023

    konduruc733182
    January 11, 2023

    Hello simonj546,

    Can you just check if you have mapped all the required output nodes inside your sub-process and also can you check if you have given the check box for multiple records in your all write records nodes.