Workflow Hero

Workflow to Hide Item and Terminate Current Workflow

  1. I have list which has an approval workflow which runs when in a new item is created.
  2. The data in this list is being accessed by another service, so if an item needs to be cancelled - rather than delete it - I need to flag it in a Status column as "Cancelled", so that the other service can filter out cancelled items (whereas if the item was deleted, it would remain as an active item in the other service).
  3. If an item is cancelled I also need to terminate that workflow.
  4. Right now I have a hyperlink in a column called "Delete Item", and if that link is selected a form opens where the user can enter the item ID, and then when submitted a small workflow updates the Status column as "Cancelled" and the running workflow for that line item is terminated.

Is there a better way to do this, or is there a way so that when the link is clicked the form is pre-populated with the item ID of the line item in which the link was clicked?

0 Kudos