- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 03:21 AM
Hi,
I have a single line text "user email". I want to trigger an approval to the user's manager mentioned in the "user email" field through flow.
how can I achieve this?
Thanks in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 04:28 AM - edited 11-19-2024 04:43 AM
Hi @Puneet4418
You can make use of Get Catalog Variables action to get the value of user email variable. Post that, make use of Lookup Record action on sys_user table with the user email ID that you got in the first step to get the user manager sys_id. You can then make use of Ask for Approval action and map the manager data pill as an Approver.
Refer below screenshots -
Output -
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 04:28 AM - edited 11-19-2024 04:43 AM
Hi @Puneet4418
You can make use of Get Catalog Variables action to get the value of user email variable. Post that, make use of Lookup Record action on sys_user table with the user email ID that you got in the first step to get the user manager sys_id. You can then make use of Ask for Approval action and map the manager data pill as an Approver.
Refer below screenshots -
Output -
Thanks and Regards
Amit Verma
Please mark this response as correct and helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024 04:42 AM
Hello @Puneet4418 ,
You can achieve this by following steps:
1) Get catalog variable 'user email' by using 'Get Catalog Variable' action.
2) Add lookup Record action, select table sys_user and add condition - email is catalog Item.user_email
3)Add Ask for Approval action