how to send a approval to particular manager

sekhar6
Tera Contributor

Hai all,

i have a Requirement ,

how to send a approval in service catalog , there is no manager field in the custom table . 

i have name field in a custom table ,if select some user ,then the  approval should go to a particular manager based on the name field .

please help me on this.

Thank you.

7 REPLIES 7

Rahul Talreja
Mega Sage
Mega Sage

Hi Sekar,

Please add a approval in workflow of that catalog item check advance box and update it with script referring below:

answer = [];
//Here I am considering that field name on the form is "requested_user"
answer.push(current.variables.requested_user.manager.user_name);

Please mark helpful or correct whichever applicable.
Thanks and Regards,
Rahul

Please mark my response correct/helpful as applicable!
Thanks and Regards,
Rahul

Hi Sekar,

Is your query resolved?

Please mark my answer correct/helpful as applicable!

Thanks an Regards,
Rahul

Please mark my response correct/helpful as applicable!
Thanks and Regards,
Rahul

suvro
Mega Sage
Mega Sage

Use below

answer = [];

 

answer.push(current.variables.requested_user.manager);