Automation question
I have a spread sheet I was hoping to use to automate a ton of menial task to onboard staff. Currently it's a lot of "If a nurse starts Monday, email the manager" "If a person with one of these titles starts Monday, record a checkbox in another column." Most of the starting triggers are the same. If the "start date" cell is not blank, run this workflow. The problem is that the first time I set it up, it worked fine, but none of the others will run despite having the exact same conditions. Can I only use that start date is not blank once? If so, any suggestions to make it work? Right now everyone spends a ton of time copying things from one spreadsheet to another and it's ripe for errors and a waste of time.
Answers
-
Hi @JenMcD
I can not pinpoint what causes workflow automation not to work, but I find that many workflow automation methods can be replaced with formulas.
For example, those can be performed by the formula;
- Record a checkbox in another column
- Set the Status values
It will become more reliable by making your system less dependent on workflow automation.
I added several helper columns in the demo sheet below to simplify the workflow trigger and formulas.
[Start Date is not blank] =IF(ISDATE([Start Date]@row), 1)
[Monday] =IF(ISDATE([Start Date]@row), IF(WEEKDAY([Start Date]@row) = 2, 1))
[Clinical Titles] =IF(CONTAINS(Title@row, [Clinical Titles]#), 1)
[Send Email] =IF(AND([Clinical Titles]@row, [Start Date is not blank]@row), 1)
[Checkbox (Recorded)] =IF(AND([Clinical Titles]@row, Monday@row), 1)
[Task Status] =IF([Email Sent]@row, "Email Sent", IF(AND([Send Email]@row, NOT([Email Sent]@row)), "Pending", "Not Started"))Formula Explanation
- Start Date is not blank
Checks if the "Start Date" column has a valid date. If it does, it marks the row with1
, otherwise0
.
- Monday
Checks if the "Start Date" is a Monday. If true, it marks the row with1
, otherwise0
.
- Clinical Titles
Identifies if the job title in the "Title" column belongs to a specific list of clinical roles (e.g., Nurse, Nurse Practitioner, Technician). If true, it marks the row with1
, otherwise0
.
- Send Email
Checks if both the "Clinical Titles" column is marked and the "Start Date is not blank" column is marked. If true, it sets the value to1
, meaning an email should be sent.
- Checkbox (Recorded)
Marks the row if the person has a clinical role and their start date is on a Monday.
- Task Status
Updates the task status based on whether the email has been sent:- If the email is sent, the status is "Email Sent."
- If an email needs to be sent but hasn’t been sent yet, the status is "Pending."
- Otherwise, the status is "Not Started."
Simplified workflow automation
Using those helper columns and formulas, workflow automation becomes simple and thus more dependable.
An example of an email a manager received
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!