Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Delete Workflow
alopes9_(Delete)_2242975
When my workflow gets completed, an entry still remains in the workflow status of the initiator.What code in the Callback script of the last milestone should delete this ? The following code retValue = WAPI.StopWork(work, workID)errString1 = Error.ErrorToString(retValue)retValue = WAPI.DeleteWork(work, workID)errString2 = Error.ErrorToString(retValue)gives me errString1 = "WorkId already in use."anderrString2 = "Workflow cannot be deleted."Do you think its a permissions issue ?Advise.Allen.
Find more posts tagged with
Comments
Application_Services_FUJITSU_(fuji_ware05_-_(delet
This indeed will be a permissions problem.Can you tell me when and who executes the code?Johan RaedemaekerAsBuiltmailto:jraedemaeker@switch.be
alopes9_(Delete)_2242975
Its a callback script of the Milestone so nobody executes it. For sure its not the initiator.
Application_Services_FUJITSU_(fuji_ware05_-_(delet
It's always someone that executes the step. In your case it will be the latest person before the step.