TaskStateUtil - TaskStateUtil(GlideRecord task)

Creates a TaskStateUtil object.

Table 1. Parameters
Name Type Description
task GlideRecord This must be a GlideRecord from a task table.

var stateUtil = new TaskStateUtil(current);