CycleProcessBehavior

Description

The CycleProcessBehavior business rule is a system rule that is used to determine the way errors are handled during cycle processing. The business rule allows users to stipulate conditions for retrying a transaction that has failed during cycle processing, and the number of times the system should automatically retry it. The Halt parameter in the rule configuration specifies a condition for ending or continuing the cycle, and the iterations attribute specifies the number of retry attempts. This is available for plan, policy and client transactions. When this rule is present, the system will automatically retry the activity that has returned an error. If the system performs the specified number of retry attempts without success, the transaction will remain pending.

CycleProcessBehavior Element/Attribute Table

Element/Tag

Definition

Element/Attribute Value and Description

<CycleProcessBehavior>

The opening and closing tags of the business rule.

<RetryIterations>

Required:

This integer value determines the number of retry attempts if the Halt condition is met.

Any integer between 1 and 10.

<Halt>

Optional:

This parameter specifies the condition for halting Cycle processing, or allowing it to continue.

Never = Never halt Cycle processing for an error.

Any = Halt Cycle processing if any error occurs. This is the default if Halt is not specified.

System = Halt Cycle processing if a system error occurs.

Business = Halt Cycle processing if a business error occurs.

XML Example

              
<CycleProcessBehavior>
<RetryIterations>5</RetryIterations>
<Halt>Any</Halt>
</CycleProcessBehavior>

Schema

<CycleProcessBehavior>
<RetryIterations>[1-10]</RetryIterations>
<Halt>[Never|Any|System|Business]</Halt>
</CycleProcessBehavior>