on 07-21-2013 7:52 AM
Hi Every One,
I have requirement to cancel workflow from the contract document itself. For that i am trying to create script to get native id of work item and cancel the workflow using the native id. But unfortunately i am getting native id as 'Void' not sure why i am getting void. I got work item object using find method for contract document reference for which we need to cancel the workflow.
Can some one please help me to get this done using script/query so it will be very helpful for me to complete this task. We have tried creating query from standard cancel workflow query also but somehow it is not fetching any results.
Please share a sample code which you have already implemented for this requirement.
Your help will much appreciated.
Regards,
Gurvi.
HI Gurvi,
I am not sure why do you want to cancel the workflow at the script level. you have the option to cancel it at Set up level also.
Set Up --> Workflow Definitions -->
Click on the Workflow defintion --> Click on Report tab -- current workflow process and click on "X" button.
Attached screen shot
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.