- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 05:31 AM
Hi,
I am facing an issue where i am trying to create a demand using the service catalog. For that i have created a record producer which makes an entry in the task table with sys_class_name='dmn_demand' but the issue is Number generated for that demand starts with TASK000 where as if i use the New button on the demand list it generated the number as DMND Please see the screenshot below
How can i create a demand from service catalog so that the number, that is generated starts fromDMND.
Best Regards
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 06:23 AM
That's why. Set the table name to Demand (dmn_demand) and remove that line from the script. Someone set up your record producer a bit whacky which is why it is getting the number related to TASK.
http://wiki.servicenow.com/index.php?title=Record_Producer

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 05:35 AM
Hi John,
There are a few things to check:
- Is there anything related to the number field in the record producer's script field?
- Do you have any dictionary overrides for dmn_demand on the number field?
http://wiki.servicenow.com/index.php?title=Dictionary_Overrides
http://wiki.servicenow.com/index.php?title=Record_Producer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 06:14 AM
Hi Chuck Thank you for your time.
I have checked there is no dictionary override of number field for demand table please see the below screenshot
also in the script field of the record producer i have only one line that is
Please let me know if i am missing something very trivial here
Regards

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 06:15 AM
Interesting, The script shouldn't need to set the sys_class_name if the record producer is already set to create records on the table. Try commenting that line out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 06:18 AM