How to check de active user and assign approver to any active user

dheeru_1994
Tera Contributor

Hello All 
i have been post three time this question but no one gave me solution 
my requirement is  in workflow i generate user approver that user is inActive now if my user is inActive then othere active user should approve the approval i am new in workflow so i do not know how will i achieve this 
what process should i follow 
thanks and regards 

8 REPLIES 8

Harish KM
Kilo Patron
Kilo Patron

Hi @dheeru_1994 how will the workflow know which user to pick if current user is inactive? Do you have any variable on the form to pick the replacement approver?

Regards
Harish

No i do not have any variable  
may i need to make this or is there any other approach to get this 

Hi @dheeru_1994 the system needs to know which approver to pick next, it cannot be a static value, may be let's say My manager is A and A leaves the company.In this case the next approver will be B who is the manager of A.

Regards
Harish

so it means i make one variable and type is refrence type wich is user table   
and in workflow i make user approver in that advance activity  what script to write so that if i select in active user so active user approve