How do I set up a workflow to notify someone if a predecessor task has been completed?
Answers
-
I have developed this solution for your question as the screenshot below:
- Create a new ID column with auto-number property. This is to make each row unuiqe.
- Create a new Rownum column with column formula to number each row :
=MATCH(ID@row, ID:ID, 0)
- Create a new Successors column with column formula to indicate the Successor rows of the current row :
=JOIN(SUCCESSORS(Rownum@row), CHAR(10))
- Create a new Predecessor’s status column with column formula :
=JOIN(COLLECT(Status:Status, Successors:Successors, CONTAINS(Rownum@row, @cell)))
- Create a new Alert workflow when row changes with Predecessor’s status = “Complete”
Let me explain:
- Row 16 is predecessor task of Row 18, 19. Then the Successors column has a value = 18 19
- When Row 16's status change to "Complete", then Predecessor’s status column of Row 18, 19 will change to "Complete". This will trigger the Alert workflow.
Hope this works for you.
Gia Thinh Technology - Smartsheet Solution Partner.
-
Hello @Gia Thinh thank you for the above, this is a great solution, I think I am really close, however the last formula in the Predecessor Status is returning the following:
Do you have any thoughts on this? Thank you
-
can you provide a whole sheet screenshot and the formula of the Predecessor Status?
Gia Thinh Technology - Smartsheet Solution Partner.
-
@Gia Thinh here is the screenshot, thank you
-
Can you provide a screenshot as below? Want to see the whole columns highlighted.
Gia Thinh Technology - Smartsheet Solution Partner.
-
Apologizes here you go.
-
Try to change these 2 formulas:
Rownum : =MATCH(ID@row, ID:ID, 0) + CHAR(127)
Successors : =JOIN(SUCCESSORS(Rownum@row), CHAR(127)) + CHAR(127)
Gia Thinh Technology - Smartsheet Solution Partner.
-
@Gia Thinh I have and still the same!
-
can you share the sheet to me to look into the formula?
Gia Thinh Technology - Smartsheet Solution Partner.
-
Thanks for your solution @Gia Thinh, its exactly what we need - to be able to alert the next person that the preceding task is completed.
When trying to implement in my sheet, I keep getting this error "#UNPARSEABLE" for RowNum, for Successor.. Any suggestion? Also I'm quite new to Smartsheet, so please bear with my limited knowledge 😅
-
Can you provide the screenshot of the sheet with errors and used formulas?
Gia Thinh Technology - Smartsheet Solution Partner.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!