- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017 07:22 AM
Hi all,
I am triggering the event queue from my business rule but i couldn't see any data in parm1 and parm 2 in my "Events" table instead i can see the mail id in the table column in the "event table".
script:
-------
gs.eventQueue('customerProfile.affected',array[j],user_email);
I am able to get the value of array[j] as well as user_email when i used gs.log for check.
Thanks.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017 08:32 AM
Hi Revathy.
Following is syntax for gs.eventQueue method
e.g
gs.eventQueue('incident.commented', current, gs.getUserID(), gs.getUserName());
Please make sure that you pass GlideRecord object ( like current) in second paramter of gs.eventqueue method.
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017 08:32 AM
Hi Revathy.
Following is syntax for gs.eventQueue method
e.g
gs.eventQueue('incident.commented', current, gs.getUserID(), gs.getUserName());
Please make sure that you pass GlideRecord object ( like current) in second paramter of gs.eventqueue method.
Regards,
Sachin

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-30-2017 08:34 AM
Hi Revathy,
Use this:
gs.eventQueue('customerProfile.affected',current,array[j],user_email);