Skip to main content

HI all,

 

Looking for you help. Scenerio, I have four activities running in parallel. I want to put an escalation on Activity 2 so that if no one actions it in 5 days, It should move on to the next step after Activity 2. I want Activity 1, 3 and 4 to reman as they are. How can I achieve this. I tired to use the GoToActivity escaltion action but that expired Activity 1,3 and 4. 

 

Thanks in advance

 

Perhaps the Sourcecode.KO can be used:


 


http://help.k2.com/onlinehelp/k2blackpearl/devref/current/default.htm#lim_-_sourcecode.ko.html


 


//force the current instance to go to SomeActivity, and expire all current activities   
K2.GotoActivity("SomeActivity",true);

//or //force the current instance to go to SomeActivity, but only expire the current activity
K2.GotoActivity("SomeActivity",false);

 Thanks for your reply tin. I think that would work if i could call a smartobject when an escalation occurs. I havent found away of doing this yet. Please advise if there is a way of calling a smo or executing some code incase of an escalation.

 


Unfortunately I do not have solid coding examples, but if you use the "Default Action" escalation, it should allow you to write this code against the SourceCode.Ko:


 


https://help.k2.com/onlinehelp/k2blackpearl/userguide/current/webframe.html#EscW15.html


Reply