Video Screencast Help

Aborting Workflows

Created: 12 Oct 2012 • Updated: 15 Oct 2012 | 2 comments
This issue has been solved. See solution.

Does anyone know if you abort a workflow does the data get flushed out from the Messages table and all the corresponding tables or does that data still stay there?

Comments 2 CommentsJump to latest comment

AnaMan's picture
In genaral the Abort order deletes all messages belonging to specified process instance (sharing the same Tracking ID) and by cascade constraint all correspondig messages from MessagesProperties table.
In details the abort functionality can differ a bit depending on where it is called from:
 1) link Abort from WorkflowManagement.aspx page script,
 2) method AbortWorkflowProcess() from WorkflowManagementSerivce.asmx proces web service
 3) method AbortWorkflowProcess() from native process webservice (by default MyService.asmx)
The first and the second additionaly removes assignemnts for deleted tasks. The third method doesn't do this.
It can also depends on persistent storage configured for workflow server because the most cruicial method responsible for this is implemented individually for different storage types.
But for default storage type "Exchange" it is one common implementation for any kind of storage targets (file, SQL etc.)
Aryanos's picture

Thanks AnaMan, I just wante dto confirm that it did from the workflowmanagement.aspx and workflowmanagementservice.asmx as those are the two areas I'm planning to initiate them from.

I like my beats fast and my bass down low