2 Workflows Being Triggered When Only 1 Should Be
Good afternoon!
I have a use case where when a new record is created and the "team leader" field changes from blank to populated, I want to send an alert to someone. I want to send a separate alert when the "team leader" field value changes.
On first glance, I thought I would easily set two separate workflows up, one with the trigger being "when rows are added" and the other being "when rows are changed", but adding new records is triggering both workflows. Any thoughts on how to make sure new records trigger only the "new record" workflow? Thanks!
Answers
-
To clarify, you want to send one alert when a new row is added and team leader changes from blank to populated. And a second when any changes to team leader are made?
How is this data being populated into the sheet? Via a form? Often times I find that added and changed triggers can accidentally get triggered separately if data is entered in the sheet directly. Which may just mean you need to change the trigger or add in some conditions to prevent the notifications from sending prematurely.
To prevent this from happening I would recommend creating a checkbox or date column to create a physical record that the first notification was sent already. For the sake of this example, let's call that column "Team Leader New Record Sent" and we will make it a date column.
- Team Leader New Record:
- Trigger - when rows are added or changed (keep trigger open ended when any field changes)
- Condition - Team Leader is not blank, Team Leader New Record Sent is blank.
- Select an Action - Send the alert, add a new action to record date under the "Team Leader New Record Sent" column.
- Team Leader Change Trigger: for this one, keep your existing trigger and add a condition that looks for a blank date under the Team Leader New Record Sent column.
I hope this makes sense!
- Team Leader New Record:
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 137 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives