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 retrieve record producer name is producer script?

Deepak Ingale1
Mega Sage


Hello,

I want to have a record producer name to map to particular field in my incident / request / change table.

For that I want to take advantage of Script functionality available with Record Producer. however, with the help of producer. (producer dot) I could not pull record producer name in my script.

Can any 1 help me in this case?

1 ACCEPTED SOLUTION
15 REPLIES 15

Harish Murikina
Tera Guru

cant you hard code that record producer name



current.short_description = 'your record producer name';


Mark Stanger
Giga Sage

Sadly, there's no way to dynamically reference the name of a record producer currently.   Your only option is to hard-code it on every record producer as shown by Harish.


Ahhh, that is too bad then if I have to hard code it for every producer


We have quite a large number of producers.....


Let me check If I can do it with import set and XLS logic...fingers crossed.....


Thank you Mark and Harish for reply...


Marc A Love
Giga Expert

We went through the same thing...I like keeping track of the producer name as well ...so I hardcoded the 40 or so we use 😞