Workflow - fireEventById(String eventRecordId, String eventName)

Fires the named event on the record specified by record ID.

Used in Activities Approval Coordinator, Timer, Lock, and some others.

Table 1. Parameters
Name Type Description
eventRecordId String The sys_id of the glide record.
eventName String The name of the event to send to the executing workflow.
Table 2. Returns
Type Description
void

var wkfw = new Workflow();
      wkfw.fireEventById('f2400ec10b0a3c1c00ca5bb5c6fae427','Timer');