Partager via


Interrupted Workflow Behavior

The topic shows what the FIM Service will do when it is restarted to handle each workflow that was not completed when the FIM Service was interrupted.

Authentication Workflows

The following table shows what the FIM Service will do when it is restarted to handle each authentication workflow that was not completed when the FIM Service was interrupted. The Workflow State refers to the WorkflowStatus property that is defined on the WorkflowInstance resource.

Authentication Workflow State FIM Service Action

WorkflowStatus is any non-final state, and the workflow is persisted.

The workflow is terminated and the WorkflowStatus property becomes “Terminated”.

WorkflowStatus is any non-final state, and the workflow is not persisted.

The workflow is canceled and the WorkflowStatus becomes “Canceled”.

Authorization Workflows

The following table shows what the FIM Service will do when it is restarted to handle each authorization workflow that was not completed when the FIM Service was interrupted. The Workflow State refers to the WorkflowStatus property that is defined on the WorkflowInstance resource.

Authorization Workflow State FIM Service Action

WorkflowStatus is Pending

Creates and starts the workflow instance.

WorkflowStatus is Created

Starts the workflow instance.

WorkflowStatus is Running and workflow is persisted (see Handling Workflow Interruptions).

Resumes the workflow from the persisted state.

WorkflowStatus is Running and workflow is not persisted (see Handling Workflow Interruptions).

Restarts the workflow.

Action Workflows

The following table shows what the FIM Service will do when it is restarted to handle each action workflow that was not completed when the FIM Service was interrupted. The Workflow State refers to the WorkflowStatus property that is defined on the WorkflowInstance resource.

Action Workflow State FIM Service Action

WorkflowStatus is Pending

Creates and starts the workflow instance.

WorkflowStatus is Created

Starts the workflow instance.

WorkflowStatus is Running and workflow is persisted (see Handling Workflow Interruptions).

Resumes the workflow from the persisted state.

WorkflowStatus is Running and workflow is not persisted (see Handling Workflow Interruptions).

Restarts the workflow

See Also

Reference

Handling Workflow Interruptions
WorkflowInstance

Concepts

Developing Custom Activities and Workflows