Can K2 Workflow complete a workflow default client event from backend

  • 5 September 2019
  • 1 reply
  • 0 views

Badge +2

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.

 

 

 

 


1 reply

Badge +12

Hi Yap, 


 


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. 


 


https://help.k2.com/onlinehelp/k2five/devref/5.3/default.htm#Designtime/WF-Create.html?Highlight=approval


 


Do let me know if this helps.


 


Kind regards, 


 


Percy

Reply