Record Producer

neelamallik
Giga Contributor

Scenario: Create a Record Producer named 'Visitor Access Request' that creates a record in the
Incident table.
Tasks
• 1. Create the Record Producer on the Incident table.
• 2. Add variables: Visitor Name, Visit Date, Reason for Visit.
• 3. Map variables to Incident fields using a script.
• 4. Test the Record Producer from the Service Catalog

 

current.short_description = producer.visitor_name;
current.description = producer.description;
current.priority = producer.priority;
current.caller_id = gs.getUserID();
 
unable to submit the request getting error in record producer please advice
1 REPLY 1

Ankur Bawiskar
Tera Patron

@neelamallik 

seems there is a data policy which requires short_description on target

Also I believe visitor_name variable is empty and hence it's causing that error

Try giving value in that variable and then see

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

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