WorkflowModelManager - WorkflowModelManager(String contextId)

Creates a new WorkflowModelManager object (constructor) within the specified context.

Table 1. Parameters
Name Type Description
contextId String The ID for the context in which you want the WorkflowModelManager created.
Table 2. Returns
TypeDescription
ActivityHistoryRecordThe ActivityHistoryRecord JavaScript object requested.

var model = new WorkflowModelManager('MyContextId');