Hi K2 Community,
I have a requirement where user would like to complete a default client event by system with the backend code. The default client event have 2 decision, Approve and Reject. When the system run the backend code, either Approve or Reject will be return as the result. Then if result is 'Approve' the workflow will proceed to activity A, and if result is 'Reject ' the workflow will proceed to activity B.
Thank you for your post. I have seen the following piece of documentation in regards to the use of code. However one thing to note is that this can only be used against legacy components such as K2 studio and Visual studio.
Do let me know if this helps.