- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2017 04:24 AM
Hi All,
I've recently created a record producer to sit on one of our portals to create incidents. We now have a scenario where we want the user to fill in one form that would create an incident and request at the same time with some of the variables on the form populating details on the incident ticket and other variables on the form populating details on the incident. Is this possible and what is the best process to achieve this?
Thanks
Sam
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2017 05:10 AM
Hi Sam,
You could do this in script field to create your request. I recommend using the cart API to create the RITM and subsequent REQ. The variables are all yours using producer.variablename to get at them.
For your reference: https://developer.servicenow.com/app.do#!/api_doc?v=jakarta&id=c_CartJSScoped
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2017 05:08 AM
Hi Sam,
That is possible via script field in the record producer.
Regards,
Bala

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2017 05:10 AM
Hi Sam,
You could do this in script field to create your request. I recommend using the cart API to create the RITM and subsequent REQ. The variables are all yours using producer.variablename to get at them.
For your reference: https://developer.servicenow.com/app.do#!/api_doc?v=jakarta&id=c_CartJSScoped
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2017 05:43 AM
Hi Chuck,
Thanks for this, I've had a quick look over the link and I think this is what we would need. How would this look to the end user when they are filling in the record producer, is there an example anywhere just so I can get my head around how it would work in practice?
Thanks
Sam

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2017 05:49 AM
When they fill in the record producer, they simply fill out fields like they normally would. If your INC or RITM, or whatever is triggering a notification then they'll get that also. No real change on their part. They don't know what type of record or what scripts are running behind the scenes when they fill out a few fields. That's the point of a record producer.