Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to pass more than 2 parameters to the eventQueue and access it on the notification

Hari1
Mega Sage

Hi,

I am using an eventQueue on the scheduled job and passing object as a param1.

var arrFinal = [<sys_id> of users];

 var obj = {
        iteration: iterValIncFinalVal,
        lastDate: storeValNextItr
    };

gs.eventQueue('cmp_qualifier', gr, obj, arrFinal);

I need to access both the object value of event.parm1 to be accessible on the notification subject and body.

Can this be achieved?

10 REPLIES 10

Hi,

no html tags in email.setSubject()

Did you print what came after parsing?

Regards
Ankur

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