bhickok2
Apprentice

Removing Workflow Instance when SharePoint list item is deleted

Good Morning everyone,

 

I need to create a workflow that deletes the workflow instance related to a specific SharePoint list item when it is deleted. Users are deleting list items and thus the smartforms are failing to load due to the list item being absent and the tasks are still pending. I can not seem to find instructions on this function but i'm sure it is possible. Anyone have some help with this?


Thanks,

Ben

0 Kudos
Reply
1 Reply
Mahjooob
Rookie

Re: Removing Workflow Instance when SharePoint list item is deleted

Hello,

 

look you can use the API to send this instance using "Go To" method

or you can use this system smartobject "not tested, you must to test this in testing environment any back to us with the result"

 

SMO Under >>

System >  Management >  Workflows >  SmartObjects >  Process

 

 

Br

Mahjooob

 

0 Kudos
Reply