Hello,
I have a SmartForm with a button to submit a Request, and a subview of the same form with a button to cancel existing Requests. Different actions are performed depending which button is clicked.
In my K2 Studio workflow, I have 2 routes (2 lines) under the Start Event - one where the Status = Requested, and the other where the Status = Cancelling.
All good so far.
However, the Configure Process Start Rule on the Start event specifies = "When BtnSubmit is Clicked".
As a result, clicking the Submit button successfully starts the Workflow, but clicking the Cancel button does not, as that would require the use of the "OnView <xyz> subview, when btnCancel is clicked".
So how do I assign 2 different process start rules? Do I just need to add 2 SmartForms Client Events to the Start box and configure one for each button?
Thanks
Gram