Create Demand From the Record Producer/Service Catalog

thisisauniqueus
Giga Expert

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

find_real_file.png

How can i create a demand from service catalog so that the number, that is generated   starts fromDMND.

Best Regards

1 ACCEPTED SOLUTION

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


View solution in original post

9 REPLIES 9

Table name should be demand and remove the script


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


Thanks again for your help



i thought i have seen something like this before. It works now



Regards


anurag92
Kilo Sage

Try Gliding Demand table and inserting a record in demand table.


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