Hi everyone,
Hope everyone is doing well and safe.
Can any one help me with Leveraging activity-chaining with example.?
How can we pass data from one process to other process by using start process smart service?
Thank you all in advance!
Regards,
Kiran Sajjan
Discussion posts and replies are publicly visible
Interestingly it is technically still valid to use a form on any node that allows it (including nodes that aren't User Input Tasks). If you do this, it will correctly generate a task that is visible in the tasks feed, and it can be completed and save outputs just like a user Input Task.
However, there are a few reasons why almost no one does this in practice:
For those reasons, it's best practice to not use the Forms tab within any node except for User Input tasks.
Thank you very much for this excellent description Peter Lewis. Very much appreciated :-)
Thank you very much Peter Lewisfor clarifying my doubts.
Thank you for your great help in clarifying my doubts .
Hi Kiran,
If you mean how to get data output returned from the proces initiated via the start process smart service you have to use activity chaining in the child right from the first node. The parent will wait for the last chained node in the child to finish before the parent proceeds to the next node. This way the behavior of the start process smart service is kind of synchronize and you will be able to fetch the output of the child process in the node's that follow after the start process smart service node. the pv's of the child are returned in a array of pv's. To initiate the child process via start process smartservice in via a dictionary with the data regarding to the parameters of the child process to be started. If you don't chain the nodes in the child the pv's will be null if you fetch them in the next node because default behavior is async, so the next node in the parent will not get updated data in the child because it executed before the child was finished with updating the data.
Erik