1. Object OGWFActualRun

    Article: AN0002048Updated:

    This object contains properties and methods of currently processed workflow instance.

    Object properties

     

    Name Description
    PersonList ActualTaskAssignTo List of users to which the new task will be assigned.
    int ActualTaskDone Percentage of the new task completion.
    WorkflowSeqRun ActualRun Current workflow instance.
    DataRow ActualTask Newly created task.
    void AddInfoToLog(string message) Function adds a info message into the log of the current workflow instance.
    void AddWarningToLog(string message) Function adds a warning into the log of the current workflow instance.
    void AddErrorToLog(string message) Function adds an error message into the log of the current workflow instance.
    JSWorkflowSeqProperty Property Properties of the current workflow instance.
    WorkFlowSeqTaskList Tasks List of all the tasks of the current workflow instance.
    WorkFlowSeqTaskList TasksByActualActivity List of all the tasks created by the activity in which the script was started.
    void FailedActualWorkflow() Function terminates the workflow instance with an error.
    void CancelActualWorkflow() Function terminates the workflow instance.
    void PauseActualWorkflow() Function suspends the workflow instance
    DataRow InputDataRow Record Id with from which the workflow was started.
    ImportRun InputImportRun Start of import with which the workflow was started.
    Import InputImport Import (from InputImportRun), with which the workflow was started.
    int ModelId Id of the model, in which the workflow is defined.

    Use properties ActualTaskAssignTo, ActualTaskDone, ActualTask only for the activity Task.

    Properties Input... provide data record or import start with which the workflow was started. If you try to read one of these values in the case where the workflow instance was not started with them, an exception is raised.

×