I am using a!startprocess function from an interface to save some data to db, now lets say the process model being called encounters a run time error in some node, i need to show the user some custom message like ' some error occured' in the interface , onError dosent work here , as there was no issue starting the process.
Discussion posts and replies are publicly visible
Using activity chaining, you can control at which step in the process the a!startProcess function returns. Did you try this?
havent tried this , but my understanding was the behavior of how onError works, from the Docs: "The onError parameter will only evaluate if the process fails to start. It will not evaluate if a node in the started process pauses by exception"
Sure, but with some clever design of process variables and value setting, you should be able to return such a message to the user when evaluating onSuccess.
i see what you mean , let me try it out