Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to set all the approvers as parm1 in flow designer???

Admin7267
Kilo Sage

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.

 

Admin7267_0-1732093891989.png

 

Error: 

Admin7267_1-1732094261060.png

 

 

5 REPLIES 5

KrishanSharma
Tera Expert

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?

Thank you @KrishanSharma for your response.

 

Admin7267_2-1732102212037.png

 

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.

Hi @Admin7267,

 

If your issue is resolved, please mark the answer correct and helpful. ThankYou 🙂