GET THE VALUE OF THE BP OF OUTPUT PARAMETERS IN THE CALLBACK ON THE CLIENT
Hello Team.
I start BP on the client:
processArgs = {
sysProcessName : "UsrSomeProcess" ,
parameters : {
UsrParam : paramValue ,
} ,
callback : this . someProcessCallback ,
scope : this
} ;
ProcessModuleUtilities. executeProcess ( processArgs )
Question: How to get the value of the output parameters of the running BP in the callback?
Like
The ProcessModuleUtilities module doesn't provide any ability to get output params in the callback. A process could take seconds, minutes, or days to complete, so the callback isn't executing when the process is complete, it's executing when it's been successfully started.
To get the params from the process you'll need to use a script task in the process to send them in a message to the front end UI and then wire up code to listen for that message. You can see an article how to do that here:
https://customerfx.com/article/sending-a-message-from-server-side-c-to-…
Ryan