- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2022 10:16 PM
Hi Community,
is there a way I can create an incident using a record producer using script. if yes please help me.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-28-2022 02:24 AM
Hi,
but why do you wish to populate variables?
User is not submitting record producer but having chat with VA
When submission happens via record producer then variables are populated
have a look on this for how to submit record producer via script; this might help you
How to Trigger change workflow/record producer from transform script
If my response helped please mark it correct and close the thread so that it benefits future readers.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2022 11:23 PM
Hi Shiva,
You can have Incident table as target table. If you want a script for this, there is a script field available in the same record producer form. You can use it accordingly.
Thanks,
Prashant

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2022 11:33 PM
Hii
Follow the steps it's tested
Change catalog and category in which you want to display record producer.
Map the field in Variable and select the fields which will from incident table.
Thanks:-
Imran Ahmad
If Correct Mark Helpful below:-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-09-2022 09:19 AM
Keep in mind if using the record producer to create a record that you find out which fields are required per Process and Standards. Integrations tend to be ran via Projects and work/adhere with ITSM Process and Standards teams, but those whom directly write to a table may miss the requirements needed on the record.
Thanks,
Karen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-23-2024 06:34 AM
So my requirement is that when logging an incident through VA, that the user is given the same set of questions to answer in sequence, as when logging an incident through service portal, which uses the reord producer to populate all the fields. Any ideas?