Automation erroneously triggered
My question is how can the ZZ 10 Day Indicator col (see below) become starred if the Package Complete Date column and the ZZ Completed 10 Days Date is not populated? When this is starred it moves the row t an archive datasheet - and in this case it moved it prematurely, erroneously, and I can't for the life of me figure out how this happened.
I have a datasheet where each row is a job and the column Package Complete allows the user to enter in the date in which the package (job at row) is dated as complete. The ZZ Completed 10 Days Date calculates a date 10 days in the future. If Today is that date, then an automation is triggered (see below) where it moves that row to an archive datasheet.
ZZ Completed 10 Days Date
=IFERROR(WORKDAY([Package Complete]@row, 10), " ")
ZZ 10 Day Indicator
=IFERROR(IF([ZZ Completed 10 Days
Date]@row <= TODAY(), 1, 0), 0)
Here's the automation
Here is what the archive datasheet looks like
But yesterday in the afternoon the automation was triggered and archived jobs that did NOT have a package complete date but yet were starred to archived.
Because there is a formula on the ZZ 10 Day Indicator, the user can’t manually select the star and trigger the automation.
So my question, is how can the ZZ 10 Day Indicator column become starred if the Package Complete date and the ZZ Completed 10 Days Date is not populated?
I've looked at the activity logs and see where the sheets have moved and were starred but I can't find out how they were starred.
Answers
-
@Sticktotheplan Maybe someone added a date in the Package Complete column and then deleted it. To prevent it from triggering in such cases you can add a condition to your workflow that requires for the Package Complete column to not be blank.
-
Hey @Sticktotheplan
I actually agree about adding the condition in the workflow about not being blank.
Blank Date cells are seen as a generic "in the past" when it comes to formulas. This means that some of your rows where the formula is looking to see if the date is "less than Today" may create a star if the cell is blank.
You could either add something to your formulas that doesn't return a blank cell / ignores blank cells, or add in Conditions to your workflows. I would potentially do both, just to be safe.
=IFERROR(WORKDAY([Package Complete]@row, 10), " - ")
=IFERROR(IF(AND([ZZ Completed 10 Days Date]@row <= TODAY(), [ZZ Completed 10 Days Date]@row <> ""), 1, 0), 0)
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 459 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
Check out the Formula Handbook template!