Hi all,
I design a workflow using K2 desginer for Visual Studio.
Then I create an ASP.NET page to execute the workflow using API/Services.
In workflow activities, there are client event and smartobject (insert, update, etc). SmartObjects are used to insert/update data to my own database.
in Activity one, there are client event and then SmartObject event. User input some information to create an Event Header, and SmartObject event is triggered to save data to my own database. then the workflow is started and proceeded to next acitivity Create Item. This work well, but workitem serial number is not saved correctly. Refer to the image in attached file K2Event.png
So I move the SmartObject event to the second activity, before the client event. Now correct serial number is save, but there is anohter problem, the subsequent client event is not triggered. please refer to the image in attached file K2Event_error.png
Is there any restriction that SmartObject could be placed before Client Event in one activity?
Thank you.
SHWU