Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The Workflow Bridge forwarding agent sends information to the Workflow Bridge real-time collection agent to report workflow state changes. The state information is delivered in a WorkflowStateUDR.

The Workflow Bridge real-time collection agent always has to acknowledge a workflow state change by sending back the WorkflowStateUDR to the Workflow Bridge forwarding agent. For ConsumeCycleCDRs, this behavior can be controlled using the Send Reply Over Bridge setting in the Workflow Bridge profile.

For more information regarding the states, see 3.1.8 Workflow Properties.

The following fields are common for all of the workflow state UDRs:


Field
Description
AgentId (string)This field includes the agent id that is created for the Workflow Bridge forwarding agent each time a workflow is started. The id is unique per Workflow Bridge forwarding agent and workflow execution.
SessionContext (any)This field might contain data that has been populated in the InitializeCycleUDR or BeginBatchCycleUDR by the Workflow Bridge real-time collection agent. For more information about session context, refer to the section, Session Context, in 9.86.1 Workflow Bridge Agents Overview. This field is only readable in this UDR.


The following field is included for all Workflow Execution State UDRs that are specific for batch forwarding workflows:


Field
Description
TxnId (long)This field includes the id for the batch transaction of the batch forwarding workflow.


WorkflowStateUDR

The WorkflowStateUDR defines the common attributes and behaviors for any WorkflowStateUDRs.

InitializeCycleUDR

This UDR is sent when the forwarding workflow enters the initialize execution state.

BeginBatchCycleUDR

This UDR is sent when the batch forwarding workflow enters the beginBatch execution state.

ConsumeCycleUDR

This is the UDR that contains the data that is being collected from the forwarding workflow. For more information about ConsumeCycleUDRs, refer to 9.86.6.1 ConsumeCycleUDR.

DrainCycleUDR

This UDR is sent when the batch forwarding workflow enters the drain execution state.

EndBatchCycleUDR

This UDR is sent when the batch forwarding workflow enters the endBatch execution state.

CommitCycleUDR

This UDR is sent when the batch forwarding workflow enters the commit execution state.

In addition to the common UDR fields the CommitCycleUDR also includes the following field:


Field
Description
IsRecovery (boolean)This field includes information on recovery status, to be able to know if a rollback shall be committed.


DeinitializeCycleUDR

This UDR is sent when the forwarding workflow enters the deinitialize execution state.

CancelBatchCycleUDR

This UDR is sent when the batch forwarding workflow enters the cancelBatch execution state.

RollbackCycleUDR

This UDR is sent when the batch forwarding workflow enters the rollback execution state.

In addition to the common UDR fields the CommitCycleUDR also includes the following field:


Field
Description
IsRecovery (boolean)This field includes information on recovery status, to be able to know if a rollback shall be committed.
  • No labels