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 get current field for an Action Item

Norah Nguyen
Tera Contributor

In the ITSM Agent Mobile scope, I have a function that has an Action Item. The Action Item uses Type = Script, Use current record as condition = True and has a Parameter Screen associated with it. How can I get current field as I need to get the sys id in order to do a glidequery on another table to set some values.

1 REPLY 1

varunsanjay2007
Tera Contributor

I would create a variable of type Database field and variable attribute FieldName to sys_id on the required table