ServiceNow Zurich Event Field Mapping advanced script – recommended way to populate em_alert fields

SathvikaR
Tera Contributor
Spoiler
 

Hi,

We’re using Event Field Mapping with an advanced script in ServiceNow Zurich. We need to populate custom fields on em_alert from additional_info payload using last-wins ignore-null logic. The issue is the alert record doesn’t exist when the first event fires so values don’t get set on first execution. We’ve tried querying em_alert directly and using eventGr.setValue but both have limitations. What is the recommended approach for populating alert fields from an Event Field Mapping script?

0 REPLIES 0