Find your people. Pick a challenge. Ship something real. The CreatorCon Hackathon is coming to the Community Pavilion for one epic night. Every skill level, every role welcome. Join us on May 5th and learn more here.

Record Producer

neelamallik
Tera 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
2 ACCEPTED SOLUTIONS

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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

@neelamallik 

Hope you are doing good.

Did my reply answer your question?

💡 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

2 REPLIES 2

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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

@neelamallik 

Hope you are doing good.

Did my reply answer your question?

💡 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  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader