Jump to content
  • 0

Triggered email when field changes


matstein
 Share

Question

I would like to automatically send a email with triggered actions if the "Status" field in my table is changed.     Not sure how I would go about doing that.

The field in my datapage pulls from a status table with the following options...

 

OPEN

IN PROCESS OF CLOSING

CLOSED

RETIRED

 

So if the user changes that field from OPEN to CLOSED or IN PROCESS OF CLOSING I would like a email sent out

 

Thank you!

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @matstein,

You can consider automatic emails as well, but this will not indicate what field was changed, and what it was changed to. 

You are correct that this workflow should use a triggered action. I have set up an easy Triggered action on how to achieve this. 

FIRST, the trigger should run on UPDATE.

 

NEXT is to join the INSERTED table with the OWN Table. This way, we can retrieve both updated value and the previous value. 

Here's a screen shot of how the Trigger should be set up. 

Screenshot_4.png.33d5b7459468ec995379f5448c756261.png

(My screen shot looks funny)

I hope this helps. 

 

I also have attached the table, in case you want to test it for yourself :lol:

 

SendEmail_2019-May-02_1717.zip

 

To use SELECT along with the Send Email, just click the Gear button on its right. 

 

Regards.
Glitchhhhh

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...