Hello,
I am stuck on a current problem where I am trying to continue one process from another. Here is the situation I have Process A that has a Smart Object connected with a simple SmartBox table that stores a ProcessID_ActivityDestinationID. The next activity has ServerCode event with only one line which is K2.Synchronous = false; In Process B I query the SmartObject and retrieve the ProcessID_ActivityDestinationID from Process A.
I would then like to continue Process A using the ProcessID_ActiityDestinationID from Process B but I'm unsure how to do this. Is there away to find the continue Process A from Process B?
From outside of K2 using the API it seems that you can use code such as the following to continue the item
SourceCode.Workflow.Client.ServerItem item = k2Connection.OpenServerItem(SN); where SN is the ProcessID_ActivityDestinationID but this will not work from within a Code event within k2.
Does anyone have any suggestions?