Good afternoon,We are in a project where we start a process from a webapi with the function a!starprocess but the process starts asynchronously and we need to start the process synchronously to return the answer when the project had finished If anyone knows, I’d appreciate it.
Best regards,
Rebeca
Discussion posts and replies are publicly visible
a!startprocess() has a variable 'fv!processInfo'. In the onSuccess parameter of the a!startProcess() expression you can setup a!save() to store the data from the process to a variable once process completed. You need to chain the process till the node though, after which you want to get the data from process to interface/expression.
Refer below documentation for more help on how to configure fv!processInfo to get the data back from process:
https://docs.appian.com/suite/help/19.2/Start_Process_Smart_Service.html
Hope this helps.
We have the Activity Chaining in the whole process, the objective in the response of the webapi is to obtain information at functional level.The problem is that the process doesnt return information without the process had completed and this information is partial.