Saving a record producer and submitting it later

Mohammad8
Kilo Expert

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?

5 REPLIES 5

sachin_namjoshi
Kilo Patron
Kilo Patron

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

Vinu1
Tera Expert

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.

Could you please provide the steps to create the wizard?

Note: I'm using Madrid version.

Mukesh Sharma
Giga Expert

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);
}