create request from sn_customerservice_case choice label

Jori
Giga Guru

i made label to categorize the case as inc/case/story/request
i also made business rules to call the ui actions to reduce the technicians button click from form context menu  "create incident" etc and all the rest are working exept the create request.

BR after update

(function executeRule(current, previous /*null when async*/) {

    new ServiceManagementRequestUtils().createRequestUIAction(current,action);

})(current, previous);

this works for the other record types and the wanted records are created when record is saved. what am i missing with request? it only works from the OOB form context menu button which runs the same command as im trying to run from the BR



2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Jori 

what debugging have you done so far?

Regards,
Ankur
✨ Certified Technical Architect  ||  ✨ 9x ServiceNow MVP  ||  ✨ ServiceNow Community Leader

debugger is not giving me any errors. did some researching and not sure im supposed to be allowed to run servicemanagementrequestutils from business rule. might have to create the record in the business rule..