Saving a record producer and submitting it later
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2019 07:50 AM
Hi All,
I need to create a record producer that will save data to a table that I had created. The form is quite lengthy so I want to allow the user to save the data and come later to complete th form without submitting it. Is this possible?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2019 07:57 AM
You can use wish list functionality to save data and submit for later.
https://docs.servicenow.com/bundle/london-it-service-management/page/product/service-catalog-management/concept/catalog-items-wishlist.html
Regards,
Sachin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2019 07:57 AM
Hi,
If your form is very lengthy and need to produce record to a particular table, You can better prefer Wizard instead of record producer. In Wizard you can create a set of panels &data's provided will be carried forward to a particular table via record generator.
Thanks,
Vinu.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-08-2019 11:15 AM
Could you please provide the steps to create the wizard?
Note: I'm using Madrid version.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2019 07:58 AM
you can have your custom ui action on the form . such as save to draft or draft save . and use this code make all mandatory variables as non mandatory and save the form .
function saveRecord()
{
var listMandatoryFields= g_form.getMissingFields();
for (var i = 0; i < listMandatoryFields.length; i++) {
g_form.setMandatory(listMandatoryFields[i], false);
}
gsftSubmit(null, g_form.getFormElement(), 'sysverb_update');
}
if(typeof window == 'undefined'){
//action.setRedirectURL(current);
answer = current.insert();
gs.include('ActionUtils');
var listAu = new ActionUtils();
listAu .postInsert(current);
}