Hi,
I want to keep track of the current activity in the process by holding the name of the activity in a process field.
I am not sure how to do this and was wondering if anyone can help me.
I think it will something along the lines of:
K2.ProcessInstance.DataFields["processfield"].Value = (String) Current Activity Name;
Thanks in advance
S
Page 1 / 1
Hi Wilsons,
You need to add a server event in each activity to update your process data field.
It should include a line like:
K2.ProcessInstance.DataFields("aaa").Value = K2.ActivityInstanceDestination.Activity.Name
You need to add a server event in each activity to update your process data field.
It should include a line like:
K2.ProcessInstance.DataFields("aaa").Value = K2.ActivityInstanceDestination.Activity.Name
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.