Automation triggered when rows are changed is happening on initial input

I have several automations set up to alert users when row data is changed. These used to work fine, but now they are triggering on initial input of the form. So now I get two emails each time rows are added, once for the new row automation, and again for the rows changed automation. Could this have anything to do with security IT settings on our end, and if so, is there a way to get around this? I tried adding a "modified date" column and helper column to set to true if the modified date was different than the created date. But the formula for the flag changed the modified date to the current date for all rows. Any ideas?
Answers
-
Hi @linda.hathaway,
Is your trigger in the automation set correctly? You should have it set to the boxed in option in the screenshot below.
Travis C, PMP
Smartsheet Leader with 5+ years of SS experience
Let's connect: LinkedIn - Travis C.
If my answer was sufficient, pleaseupvote and mark my response as answered.
-
Yes, I have the two automations, one triggered when rows are added, and the other when rows are changed. But I get notifications for both when rows are added. This happens on several different sheets.
-
I have exactly the same problem, it would be great to find a solution for this.
-
Hi, @linda.hathaway.
As your automated workflows are currently set up, Smartsheet will send 1 email when the row is newly created, and potentially multiple emails for the row each time that either
Plan of Action
orIssues
is modified. For example:
β’ At 8:30 AM, a row is created. An email is sent because this is a new row.
β’ At 10:00 AM, someone modifies the value inPlan of Action
. Another email is sent.
β’ At 12:00 PM, someone modifies the value inIssues
. Another email is sent.
β’ At 4:00 PM, someone changes the value inIssues
to BLANK. Another email is sent.
...and so forth.For a daily alert, I recommend configuring the automated workflow to run once a day. To limit how often the email should be sent for any particular row, configure conditions to determine whether or not to include the row. Using helper columns accounts for multiple changes to a triggering cell, which can happen mistakenly.
For the "Send Daily Report as Alert" workflow...
β’ Create a helper Text/Number column likeNEW ROW
.
β’ Schedule your workflow to run "Every day starting on..." and select a time.
β’ Set the workflow condition to "whenNEW ROW
is blank".
β’ Configure the Alert message.
β’ Add a "Change cell value" and configure it to changeNEW ROW
to anything (e.g., "0" meaning FALSE).How this works...
β’ When a new row is added, the valueNEW ROW
will be blank.
β’ At the end of the work day, Smartsheet will send 1 email containing all of the rows created on that day.
β’ The workflow then changes the value inNEW ROW
for those rows to "0" so that they will be excluded going forward.For the "Send Daily Report Update as Alert" workflow...
β’ Create a helper Text/Number column likeUPDATE ALERT
.
β’ Change the action of "Send Daily Report Update as Alert" to "Change a cell value" and configure it to changeUPDATE ALERT
to "1" (meaning TRUE).
β’ Create a new automated workflow like "Send Daily Update Alert".
β’ Schedule this workflow to run everyday.
β’ Set the condition to "whenUPDATE ALERT
is equal to 1".
β’ Configure the Alert message.
β’ Add a "Change cell value" and configure it to changeUPDATE ALERT
to "0".How this works...
β’ For new rows,UPDATE ALERT
is blank until a user changesPlan of Action
orIssues
.
β’ WhenPlan of Action
orIssues
is modified, "Send Daily Report Update as Alert" will change the value inUPDATE ALERT
to "1".
β’ At the end of the work day, "Send Daily Update Alert" will send 1 email containing all of the rows for whichPlan of Action
orIssues
was modified.
β’ The workflow then changes the value inUPDATE ALERT
for those rows to "0" so that they will be excluded going forward.Hope this helps!
-
@TVang thank you for the ideas. My problem is that the change workflow is triggering when there are no changes. It's triggering when rows are added. So any workflow that triggers a helper column on a "change" would also be triggered when rows are added. I'm thinking it is a technical issue, possibly related to our Google workspace. We did have an issue last month with all of our approvals auto-declining, and wondering if this is related. It has only been happening in the last few months. Before that, the change workflow was not being triggered. @anil ayhan wondering if you also use Google workspace?
-
@linda.hathaway my problem is also that the change workflow is triggered when there are no changes.Β And yes, this has only been happening for the last few months. Before that, the change workflow was not triggering.
However, we are not using Google workspace. So i don't think the reason is that. It should be a different technical issue.
-
@anil ayhan thanks for confirming. I will open a support ticket and let you know if it is resolved.
-
Hello @linda.hathaway, I'm having the same issue. I'm also not using Google Workspace. Can you please update us once you hear back from the support team? Thank you!
-
@Luis Juaristi @anil ayhan here is the response I received from my ticket. I have not tested yet, but expect it to resolve my issues.
from smartsheet:
"I was able to test out this behavior and was able to successfully reproduce. I have an Alert workflow that is set to trigger when a row is added and an Update Request workflow that is set to trigger when there are row changes. Once I added a row via a Form, both workflows were triggered. Weβve observed that as of this time this is an expected behavior if both workflows have the same trigger criteria even if one of the workflows is set to trigger when there are row changes.
To resolve this, it is suggested that you change the trigger criteria of one of your workflows. For example, your workflow that is set to trigger when a row is added, you may add a βCreated dateβ column and use that as the trigger and then use your existing trigger as the condition."
-
I'm having this exact same issue. I don't think I understand the solution suggested on 6/2. Can someone step it out for me?
Context:
I have an automation designed to trigger only when changes are made with "Due Dates". I do not need it to trigger upon task assignment as that's handled by a different automation. As you can see below, it's setup for "when rows are changed". However, it sends the email as soon as a task is assigned as well. In other words, the trigger doesn't seem to make a difference as it's also triggering when rows are simply added in the first place. So recipients get two emails every time.
-
The solution suggested on 6/2 is not applicable, because we cannot apply the βany valueβ option when we put any where clause if we want to add it to the condition.
So the problem is still there. Also, it makes no sense that this is an expected behavior. -
I have reopened my ticket with smartsheet for further explanation (I was out of office and wasn't able to implement the proposed solution). I did try to change the trigger on the add to not match the trigger on the change, and I am still getting both notifications. Stay tunedβ¦.
-
Thanks for reopening the ticket! I'm having the same issue and am hoping they'll fix it on their side - will be watching for updates. I agree that this is something that changed on the Smartsheet side and it doesn't make sense for that to be expected functionality because why would there be a "when rows are added or changed" option if changed always means added.