How to set all the approvers as parm1 in flow designer???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 01:18 AM
I was trying to fire event from flow designer and the email should be sent to all the approvers(approved/no longer required)
I have configured as below, but I was not getting the approvers sys_id in parm1 while firing the event.
Error:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 03:06 AM
Hi,
The error you've shared says: cannot read property 'sys_id' from null.
Which means system is not able to find the current object from the trigger.
Can you please share the screenshot of the trigger as well?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 03:23 AM - edited 11-20-2024 03:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2024 03:37 AM
Hi @Admin7267
You're using Service Catalog as trigger so current object will not be available in the inline script.
Use fd_data.trigger.request_item.sys_id instead of fd_data.trigger.current.sys_id in your script.
Let me know if it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-24-2024 08:25 PM