Workflow - runFlows(GlideRecord record, String operation)

Runs all workflows for a given record in a given table and its descendant tables. Sample usage can be seen in the Script Includes "SNC - Run parent workflows", and "SNC - Run parent workflows (Approval)".

Table 1. Parameters
Name Type Description
record GlideRecord The record to run workflows against.
operation String Database operation. One of insert, update, delete.
Table 2. Returns
Type Description
var wkfw = new Workflow();