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.

Attempting to use undefined input

James Rostron2
Mega Expert

Hi Community,

I've created a flow to send approval reminders after 7 days and later close RITMs if still not approved after 14 days.

I have an issue in the script to return the RITM record and update the fields.

I'm not sure why this is failing.

The Trigger is "Created" on table "sysapproval_approver" with condition
- State = Requested
- Source = sc_req_item

find_real_file.png

find_real_file.png

Appreciate any help.

Thanks,

James

6 REPLIES 6

The problem is with these two lines:

find_real_file.png

The error is stating that fd_data.trigger.sysapproval_approver is not defined. Possibly try logging all of the members of the fd_data.trigger object to find the one you need.

Frank

Hi,

Glad I could help...


Please consider marking my reply as Helpful and/or Accept Solution, if applicable. Thanks!