02-13-2018 04:11 AM - edited 02-13-2018 04:12 AM
i have one query related to Escalation custom coding.
Previously in Escalation we click on view code and write custom code and according to condition it escalate
How we can such kind of customization in K2 FIVE.
Same code below
For (int i = 0; i < K2.ActivityInstance.Destinations.Count; i++)
if (K2.ActivityInstance.Destinations[i].DataFields["Action Result"].Value.ToString() == "Declined")
02-13-2018 07:52 PM
Did you have a fresh setup of K2 Five, or did you upgrade from 4.7 to K2 Five? If you are on a fresh install of K2 Five, then you can only use the K2 Designer to design your workflow. Unfortunately, the new workflow Designer does not come with the option to insert custom codes.
If you have upgraded from 4.7, and you have Visual Studio components insalled on 4.7 before you upgraded from K2 Five, those tools should still remain, and you should still be able to insert custom codes.
K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.