Previous Topic: Initialize Child Process Variables with the Caller and Process KeywordsNext Topic: Start Processes Recursively


Return Dataset Variables to the Parent Process

The dataset for a completed child process can be accessed by using an expression in the parent process. The name of the Start Process operator references the child process dataset in the local dataset of the parent process. The following code in the parent process references a dataset variable of a child process:

Process.Operator_Name.Field_Name

Operator_Name represents the name of the Start Process operator in the parent process and Field_Name is the dataset variable that you want to access in the child process.

This only works for processes started in attached mode. Processes started in detached mode become the root process in a call sequence and do not copy their datasets to the process that started them.