Good Morning,
I have two processes, the parent and the sub-process.
The parent starts the sub-process, the next step in the parent is to start a "User Task Input", this step need to wait for a value that gets generated in the sub-process.
I've enabled chaining from the sub-process to the "User Input Task" and I've also checked Keep Process variables synchronized.
The AC!ProcessInfo variable is saved in pv!processInfo in the parent Process
But when I debug the ProcessInfo variable is not filled. The fields that are filled are the ones that are passed to the sub-process by the parent
What am I doing wrong?
Discussion posts and replies are publicly visible
It looks like you are using the "Start Process" smart service which always fires asynchronously. To acheieve what you're describing switch to using the "Sub-Process" smart service instead as this can be configured to execute synchronously.https://docs.appian.com/suite/help/20.2/Start_Process_Smart_Service.htmlhttps://docs.appian.com/suite/help/20.2/Sub-Process_Activity.html
Did you try to enable chaining inside the sub process? The "Start Process" smart service will wait until the end of the chain before proceeding. But for the sake of clarity and maintainability I recommend going with Tims suggestion.
Did you make sure that the output variables is assigned to the variables from the subprocess model?