1. OG data type - WorkflowSeqRun

    Artikel: AN0001756Aktualisiert: 09.11.2018
    Die vorgegebene Sprachenversion vom Artikeltext wird angezeigt, weil es kein Text von der ausgewählten Sprache und Version gibt.

    This object represents a running workflow instance.

    Object properties

    Name Description
    int WorkflowSeqVersionId ID of the version of the workflow instance.
    WorkflowSeqRunState State Status of workflow course.
    PersonInfo StartUser User that executed the workflow.
    DateTime StartDate Date and time of the workflow start.
    DateTime? EndDate Date and time of the workflow end. This property is null for running workflows.
    int? StartFromDataRowId ID of the record, if the workflow was executed with a record.
    int? StartFromClassDefId ID of the class, if the workflow was executed with a record.
    int? StartFromImportRunId ID of the import, if the workflow was executed from an import.

    Example

    Reading WorkflowSeqRun according to ID.

    var wfrun = OG.WorkflowSeq.GetRunByWorkflowSeqRunId(100);

    Exmple of reading all the running workflows according to workflow version ID.

    var onlyInProcess = true;
    var wfRunList = OG.WorkflowSeq.GetRunsByWorkflowSeq( 15, onlyInProcess);

     

×