Skip to main content

Hi All,

 

I have a requirement where there is a workflow which has lots of approvals and mail activivties. The client wants a requirement like he wants to end the workflow at the change of status column in SharePoint = Closed. I couldn't find a way to write code in K2 for Sharepoint which can be done using that.

 

Could any one suggest a better way to do that?

 

Note: Worfklows are created using K2 for SharePoint

 

Thanks in Advance!

Ramya

Hi Ramya,


 


What version of K2 are you using?


 


I think you can use the Activity smartobject. this smartobject is located under System > Management > Workflows > SmartObjects > Activity.


You can call GoToActivity method to redirect the process instance to the End activity


Reply