Question

Is it not possible to read process parameters in callback when executing a process with ProcessModuleUtilities?

Hello,

When starting a process client-side using ProcessModuleUtilities.executeProcess, is it not possible to read process output parameters in the callback function? I tried adding an array of parameter names as resultParameterNames in the config passed to executeProcess (as well as singular resultParameterName), but that does not appear to be used here. None of the parameters passed into the callback have any info about the output parameters from the process. I assume there's some way to get these, the response passed into the callback does have a "resultParameterValues" property which is always null, no matter what I try to pass in.

Do I need to use something else like ProcessExecutor in a configuration service or call ProcessEngineService.svc directly?

Ryan

Like 0

Like

1 comments

Hi Ryan, 

 

Thank you for this question!

 

Unfortunately we don't have practical examples with reading output parameters after execution from client side. 



"Do I need to use something else like ProcessExecutor in a configuration service or call ProcessEngineService.svc directly?"



Yep, you are welcome to try and it might be really helpful example for further actions.

 

Please check out the link below here are some examples of how to read parameters but from server side, hopefully it will help a bit: 

 

https://community.creatio.com/questions/read-business-process-parameter…

 

Please share if you get some values which are possible to read.

 

Thank you!

 

Best Regards, 

 

Bogdan L.

 

 

Show all comments