Question - whether activity chaining is followed in start process smart service or not?
The start process smart service calls the child process asynchronously and in asynchronous call the parent process does not wait for child process to complete . In documentation , it is mentioned that it followed, but their is condition that, " Will follow chaining in the new process until chaining ends, then the parent process resumes (even if the new process has not finished) ".
I tried so many times, but every time it did not follow the activity chaining .
I'm in confusion, whether the activity chaining is followed or not ? if start process smart service follow the activity chaining (as it is mentioned in documentation).then please give an example so it will be helpful to understand and in what cases it follow the activity chaining?
Thankyou
Discussion posts and replies are publicly visible
Yes essentially you will not be able to chain a user to a task in the asynchronous sub, but you can configure chaining if you would like the parent process to wait until some unattended processing, such as data updates, complete in the sub process. Then after these chained unattended nodes complete, the parent process will resume, regardless of the sub process having been completed in it's entirety.
From the record dashboard summary view, if I call "Start Process" via a link[Download as Excel]/button (Assume process is generating an excel and all nodes are chained), is it possible to display the generated excel document to user without manual refresh on the view?
yes. you would simply add the correct "onSuccess" saveInto, capturing the PV value storing the generated document ID into a local variable.