Question about a!startProcess which was introduced in 16.2

I'm using a!startProcess function for the first time to be configured on button event to reassign the task.
While I am testing from the front end, on the button press, the required event is performed and task is getting reassigned successfully.

But while I am testing from the SAIL Rule, I am getting an error message (attached screenshot). May be this is something to do with "onSucess" or "onError" parameter?

My Code is :
------------
a!startProcess(
processModel : cons!TaskScreen_JobAssociation,
processParameters : {
ButtonText_txt : ri!ButtonText_txt,
taskID : ri!selectedTasks
},
onSuccess : a!save(local!Success,"Success"),
onError : a!save(local!Fail,"Fail")
)

Where local!Sucess and local!Fail are normal local variables.
------------

Let me know if anyone has faced similar issue and figured out any solu...

OriginalPostID-233253



  Discussion posts and replies are publicly visible