Hello There,
I have a SAIL form with a button that starts a small process model via a!startProcess(). This model is set to chain from start to finish however the button is returning the "onSuccess" condition before the process instance completes.
However, when I use the exact same parameters on a SAIL form with a!startProcessLink (ie: same values for the ProcessModel and Parameters arguments) the process instance chains as expected and does not return until the instance is complete.
I am depending on this background process to update data and then fetching the updated results on the SAIL form inside a with()
Is this discrepancy the expected behavior?
A couple notes:
Discussion posts and replies are publicly visible
Hi Jpheh, As per the documentation below,That is an expected behaviour. docs.appian.com/.../Ways_to_Start_a_Process_From_a_Process.html
In the a!startProcess()
onSuccess: you can get the pv values from the function variable fv!processInfo
for more info please refer documentation
docs.appian.com/.../Start_Process_Smart_Service.html
Could you please let us know your detailed requirement? we will try to suggest the possible approaches.