Forum Discussion

Kamila's avatar
Kamila
Contributor
3 months ago

Status of a single process from workflow

Hi,

Does maybe anyone know how can I get a status of a single process in workflow from BR?

I was trying to use method GetInputWorkflowStatusForMembers, however I can't select any specific process there:

Dim wfInfo As WorkflowInfo = BRApi.Workflow.Status.GetInputWorkflowStatusForMembers(si, cubeId, entityId, scenarioId, timeId)

I need this check in Extensibility Rule as it will be ran using DMJ.

Many thanks!

  • KarlT's avatar
    KarlT
    Contributor III
    Dim wfInfo As WorkflowInfo = BRApi.Workflow.Status.GetWorkflowStatus(si, wfUnitPk, throwOnError)

    I think this is the one you're looking for