Approval action in Flow designer is not adding the approver to RITM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2024 09:04 PM - edited 08-01-2024 09:13 PM
I have created an Action for General Manager approval and its returning the SYS ID of the approver. Now I have added this action to the flow designer, but when I am submitting the catalogue request the general manager approval is not getting attached. Refer attached Snapshots.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2024 12:38 AM
Hi @Arpit Nigam
I could see that you are calling a Script Include in your action. Is the Script Include responsible for creating the approval ?
Also, in the flow, the input you are passing to your action, please ensure that you are passing a reference record to user table only, not the sys_id directly.
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
08-04-2024 03:56 PM
Yes, Amit that's right. Script include is fetching the general manager approver details. What changes I need to do to ensure that I am passing a reference record to user table only, not the sys_id directly ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2024 09:05 PM
Probably, you can change the data type of your action variable user to string instead of Reference to User table. In the flow, you can then pass the sys_id of the user directly by dot-walking to affected users catalog variable and selecting sys_id.
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
08-05-2024 11:04 PM
Tried the same @Amit Verma , but No luck. Still same issue.