michelle
8 years agoCreator II
How to restore activity to active
Hi
My Workflow Map => Start-->A-->B-->End
In A ACTIVITY I add Server Events 【on Activate】, when method error I want A ACTIVITY state is Active and I can resend.
Actually A ACTIVITY state is closed, so this workflow ACTIVITY no one state is active.
I try update some data when resend show error Exception of type 'Aras.Server.Core.InnovatorServerException' was thrown
Have anything else I need update or do something?
Update data:
--ACTIVITY
update innovator.ACTIVITY set [STATE]='Active',ACTIVE_DATE=null,CLOSED_DATE=null,CAN_DELEGATE='0',CAN_REFUSE='0' where ID='9D1BCFD366564AC68C4E7F69F5B42F73'
--ACTIVITY_ASSIGNMENT
update innovator.ACTIVITY_ASSIGNMENT set CLOSED_BY=null,CLOSED_ON=null,COMMENTS=null,[PATH]=null where SOURCE_ID='9D1BCFD366564AC68C4E7F69F5B42F73'
--WORKFLOW_PROCESS_PATH
update innovator.WORKFLOW_PROCESS_PATH set IS_COMPLETE='0',IS_CURRENT='0' where SOURCE_ID='9D1BCFD366564AC68C4E7F69F5B42F73'