SmartObject of serverEvents API?


I am trying to configure a workflow (A) that needs to wait for a certain event to happen on an external system in order to continue. This event on the external system will start a workflow (B) which should make A continue. For making the workflow A continue from an external system, one would just use the REST Api as explained in the documentation. However, I am wondering whether there exists a smartObject that has the method for finishing a certain workflow step based on the serialNumber.


2 replies

Badge +15

Hi,


 


I do not recall there being a SmartObject that can finish a server event for you. The only available way is to use the workflow REST API.


 

Hello,

 

To do so you can execute a smart object called "com_K2_System_Workflow_SmartObject_Activity". what you do call this smart object method "Go To Activity" Pass the process ID and step you want to execute. 

you can find the smart object here 

Categories -> System -> Management ->  Workflows -> (Activity)

 

This will move the flow to a particular step and execute further. 

 

Hope this will help you. 

Reply