Workflow - getEstimatedDeliveryTimeFromWFVersion(GlideRecord wfVersion)

Get the estimated elapsed execution time for the workflow version.

Table 1. Parameters
Name Type Description
wfVersion GlideRecord GlideRecord on table wf_workflow_version of a specific workflow version for which the caller wants the estimated during of executing.
Table 2. Returns
Type Description
String Display value from a GlideDuration (e.g., 3 days), or blank if unknown.

//where current is a task record with a workflow context
      var wkfw = new Workflow();
      var context = wkfw.getContexts(current);