1

I want to use a single email to either send a new or updated item email. If I create a column containing a choice of two sentences (one indicates the email contains a new item and the other an update), is there a way to insert one of them in the body of an email when a condition is met? Or, is there a better way?

1

In your workflow, you would us an if/else branch to build a dynamic string (using the set workflow variable action) based on some condition. The key is to output the strings to the same variable. Then in your email body, you insert this variable into the body. Then when an item is submitted, based on the list metadata, it selects the appropriate string and inserts it into the email body.

enter image description here

|improve this answer|||||
  • Thank you for your help. I understand the concept but I’m not doing something right. If a new item is created it does not place any text in the email body. If I update it, it creates a new list entry and places the ID in the email body. IF Current Item: Status equals New Create item in Current List (Output to Variable: Email Body ) ELSE IF Current Item: Status equals Updated Create item in Current List (Output to Variable: Email Body ) – Zippy May 19 '15 at 13:34
  • Maybe I'm not fully understanding what you are looking to achieve, but if you are trying to build a string, you would want to use the Set Workflow Variable action, not create an item action. – Eric Alexander May 19 '15 at 13:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.