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 can we map with watch list person on case from variable set watch list field

vijani
Giga Guru

How can we map a watch list person on a case using the variable set for the watch list person with the out-of-the-box script new sn_hr_core.hr_ServicesUtil(current, gs).createCaseFromProducer(producer, cat_item.sys_id) without using record producer script

@Susan Britt 

@Ankur Bawiskar 

@Harsh Vardhan 

@Community Alums 

@Jaspal Singh 

@Edward Rosario 

@Alisa Tipisova 

1 REPLY 1

Edward Rosario
Mega Sage
Mega Sage

I might need more info but just off the top of my head

  •  make sure that your watch list variable is part of the variable set in the catalog item (or case creation process) and is properly configured. Typically, this would be a type like "Watch List" or "List Collector" for users.

  • After calling the createCaseFromProducer method, you will need to manually update the created case with the values from the watch list variable set.

    hope that makes some sense