How to interrupt a transaction on a defined condition using a Custom Activity script

Question

How to interrupt a transaction (e.g. disable exporting a document if any mandatory fields are not extracted)? 

 

Answer

It is possible to let transactions conditionally fail using a Custom Activity in a Process skill, i.e.:

if( <some_condition> ) Context.ErrorMessage = "Transaction is cancelled.";

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.