Approval validation in flow designer

Community Alums
Not applicable

We have "Group" and "Date" variables in Cat item, After anyone submits RITM Approval will be sent to 
"Manager" of the group from variables.
Now after the Approval is Approved - I have to check the Approval time is after or before from the "Date" variable to proceed with further actions but Iam not sure on how to achieve this from a flow designer. Can any one help?

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

something like this, please enhance it further if you have Date variable and not Date/time

Use Get Catalog Variables flow action and then compare

approval date check.gif

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

After the Ask for Approval flow action simply compare the now time with the Date variable

what did you start and where are you stuck?

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Community Alums 

 

But what you will do with this compare?

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Ankur Bawiskar
Tera Patron
Tera Patron

@Community Alums 

something like this, please enhance it further if you have Date variable and not Date/time

Use Get Catalog Variables flow action and then compare

approval date check.gif

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Mark Manders
Mega Patron

Can't you just do an if/else and compare the date in that (the date from the variable against the date of the approval)?


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark