how to send a approval to particular manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 06:05 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 06:12 AM
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
Thanks and Regards,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2022 04:52 AM
Hi Sekar,
Is your query resolved?
Please mark my answer correct/helpful as applicable!
Thanks an Regards,
Rahul
Thanks and Regards,
Rahul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2022 06:17 AM
Use below
answer = [];
answer.push(current.variables.requested_user.manager);