Dear colleagues,
In Classic UI when ran a process we can get resultParameterValues in Client Code.
I need to do the same but in Freedom UI client module,
I saw some code like this in Academy, Community and so on, but didn't any who shows us how to get process output paramaters
const handlerChain = sdk.HandlerChainService.instance;
const result = await handlerChain.process({
type: "crt.RunBusinessProcessRequest",
processName: "UsrSomeProcess",
processParameters: {
AccountId: await request.$context.Id,
InputParameter1: "Some Value 1",
InputParameter2: "Some Value 2"
},
$context: request.$context
});
if (result.success) {
// process was sucessfully executed
}
Please help
Thanks
Julio Falcón