This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

DEVELOPERS FORUM - Cancel child workflow when parent workflow is moved to cancelled

Yelena - Thursday, August 20, 2009 10:14 AM:

I am trying to write a method that will be executed on the workfow activity (Cancel). The controlled item of  this workflow has related item which also has a workflow. I'd like to promote all related item's workflows to cancell state and delete all existing assignments.

I have an example to delete all assignments if ID of Activity (ActivityID) is known and I can get all related items (relItems) and current workflow Activity names (wfActName) for each one. Can somebody help with the query to get ActivityID based on what information I have.

Any help will be greatly appreciated.

Yelena