pdf file is not generating

chandan31
Tera Contributor

Hi All,

 

Pdf file is not generating in the HR case whenever i am using before business and state changes to awaiting acceptance and hr service is one of "  "

Please find the script:

 

if (current.hr_service == '5d16185187c47d146c44b95e8bbb35d4') {
        gs.info('chandan pdf ');
        new sn_doc.GenerateDocumentAPI().generateDocumentForTask(current.sys_id, 'd814c810877cf5d46c44b95e8bbb35be', "SLOA - " + current.subject_person.getDisplayValue());
    }
 
 
Please help.
0 REPLIES 0