- 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 06:20 AM
Table name should be demand and remove the script

- 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 06:27 AM
Thanks again for your help
i thought i have seen something like this before. It works now
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 05:37 AM
Try Gliding Demand table and inserting a record in demand table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-27-2017 06:16 AM
Thank you Anurag for the helpful tip. I am sure that Gliding my way into Demand will create the correct number format but i am just curious that my method of creating a task entry with sys_class_name=dmn_demand should also work and if its not working then why
Regards