- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2017 04:20 PM
First time creating a table where a request will come from and a subsequent task.
Normally it is just the table for the application I am creating for, so please forgive me for my ignorance.
Here is the scenario.
I created two tables
u_blaze_requests
u_blaze_tasks
I have numbered them BR and BT respectively.
How would I get a Request created from "BR" to create an "BT".
I am playing around in my personal instance and for the life of me can't understand the logic.
All I am able to accomplish is creating the BR and then it creates an RITM.
Any Help Would Be Appreciated
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2017 09:08 AM
I ended up killing the table then recreating it by extending the Service Management Table.
This gave me all of the functionality that I needed.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2017 06:50 PM
Just to add here, you need to initialize() your GlideRecord to insert new data in Blaze_Task table.
Please find more info here: GlideRecord - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2017 06:59 PM
Well, It is my understanding that, using initialize() would help in cases where there onLoad scripts that set few essential default parameters, but if I have no initialization parameters, would I still need it?
Darshak

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2017 09:25 PM
Hi Darshak,
Can you please explain more. As per my understanding we need to use initialize to have an empty record created to populate data before insert. I thought we might need this since there would be some value to pass on when new task gets created. Let me know your thoughts.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2017 11:58 PM
My understanding is that initialize, does a similar thing when you click 'New'(item with sys_id -1). It creates a form with fields that are set to be pre-populated (like priority or category, which ever parameters setup as default for a new form). However, when you don't do the initialize, glide record object of the desired type is instantiated with the object attributes but as empty.
Darshak
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2017 05:50 PM