The CreatorCon Call for Content is officially open! Get started here.

How to auto approve time card and time sheet for particular one user?

mania
Tera Contributor

Hi,

 

How to auto approve time card and time sheet for particular one user and state should also show approved once time sheet is submitted from the timesheet portal .

I have tried the below scripts but that state show only submitted for both time card and time sheet but it should be approved.

Can you please provide any business rules, It will be helpful.

mania_0-1704445609672.png

mania_1-1704445628938.png

mania_3-1704445697070.png

mania_5-1704445715306.png

 

Thanks in Advance!

 

5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @mania 

 

You can do via Flow designer, where

 

In condition 

Created by = Particular User

Approver - XYZ

LearnNGrowAtul_0-1704446039347.png

 

 

*************************************************************************************************************
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]

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

@Dr Atul G- LNG 

Can you please provide business rule, It will be helpful.

Thanks!

Mania

 

HI @mania 

 

Why you need BR when work can be done with No code. 

*************************************************************************************************************
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]

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

@Dr Atul G- LNG 

I tried Flow designer but not working as expected when i submit from the timesheet portal it should show in Time sheet and time card tables state: Approved.

Can you please help with the changes or update the flow, It will be helpful.

mania_0-1704447582481.png

mania_1-1704447610563.png

Thanks!

Mania