22aanderson22
Canvas Initiate

Create an email alert when a record is updated or deleted

Hi, could use some help to modify a current workflow. Current workflow works good based on a calendar event that requires approval or rejection and then the workflow ends. In parallel I need to create or run an action to send an email alert if the event is updated or deleted. Is this possible and if so any suggestions that I can take would be appreciated.

0 Kudos
Reply
6 Replies
SimonMuntz
Nintex Employee
Nintex Employee

Re: Create an email alert when a record is updated or deleted

Hi,

Updated is easy. Just have a workflow that runs on item modification.

Unfortunately I am not aware of a way to make a workflow run on item deletion that is as easy. The solution could be possible by having a second list that contains the same as the first and a workflow that is scheduled to compare the two lists and send out an email if something is missing and then delete the item on the second list also.
0 Kudos
Reply
22aanderson22
Canvas Initiate

Re: Create an email alert when a record is updated or deleted

thank you, actually I've overlooked the out of box option in SharePoint to alert on updates and alerts, which don't affect my Nintex workflow and work great for our need. However I now have another issue when someone deletes a record that has already initiated the workflow the record is orphaned so it won't let me end the workflow for the item.

0 Kudos
Reply
SimonMuntz
Nintex Employee
Nintex Employee

Re: Create an email alert when a record is updated or deleted

Please provide a little more information about what you mean by "it won't let me end the workflow for the item"
0 Kudos
Reply
22aanderson22
Canvas Initiate

Re: Create an email alert when a record is updated or deleted

We use Nintex workflow in a Calendar for time off, sick days, etc.. the workflow starts upon item creation and alerts an approver for approval or reject. If the item is deleted before or after the approval and if I view workflow history, there's a running workflow related to an orphan record and thus I can't terminate the workflow for that record. Ideally if the record is deleted, the workflow will auto purge.

0 Kudos
Reply
SimonMuntz
Nintex Employee
Nintex Employee

Re: Create an email alert when a record is updated or deleted

Make it so that the item can only be deleted by using the form to edit the item. Then have a workflow terminate the previous workflow and delete the item.
0 Kudos
Reply
22aanderson22
Canvas Initiate

Re: Create an email alert when a record is updated or deleted

Ok, that’s more involved than I know how to do

0 Kudos
Reply