Create incident using script using Record Producer

Shiva Kumar8
Kilo Guru

Hi community members,

I want to create an incident with script I was able to achieve it but I want to pick a record producer and create incident using script. is it possible to create an incident by pulling a record producer into script and create an incident.

please help.

Thanks.

1 ACCEPTED SOLUTION

Ankur Bawiskar
Tera Patron
Tera Patron

@Shiva Kumar 

Are you saying you wish to submit record producer from script so that incident gets created?

If yes then check this link

How to Trigger change workflow/record producer from transform script

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

View solution in original post

3 REPLIES 3

chrisperry
Giga Sage

Could you please provide more info on what you're trying to accomplish?

At the end of the day, a record producer is nothing more than a script running on a table to create a record based on that defined script, so you should be able to achieve your desired incident creation logic without invoking the record producer, just by simply replicating whatever the record producer's script is doing.

If this answer is helpful please mark correct and helpful!

Regards,

Christopher Perry

If this answer is helpful please mark correct and helpful!

Regards,
Chris Perry

Palak Gupta
Tera Guru
Tera Guru

Hi there!

Can you share what you did so far to achieve above requirement and also explain it some more.

Regards,

Palak

Ankur Bawiskar
Tera Patron
Tera Patron

@Shiva Kumar 

Are you saying you wish to submit record producer from script so that incident gets created?

If yes then check this link

How to Trigger change workflow/record producer from transform script

Regards
Ankur

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader