Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

Activities

Image Added


CancellationScope

This activity allows you to specify an activity for execution and cancellation logic for that activity.

Activity Parameters

The CorrelationScope activity has no parameter that can be provided by manually inserted values or via IN arguments or variables other than the DisplayName, but has two properties manageable in the workflow designer area:

...

  • Body: Specifies the activity for which cancellation logic is provided.
  • CancellationHandler: Specifies the activity that is executed in the event of cancellation.

...


CompensableActivity

This activity defines a unit of work that can be confirmed or compensated after successful completion.

Activity Parameters

The CorrelationScope activity has one parameter that can be provided by manually inserted values or via IN arguments or variables other than the DisplayName, and has four properties manageable in the workflow designer area:

...

  • Body: Specifies the return value of the CompensableActivity.
  • CompensationHandler: Specifies the activity to be executed when compensating for the Body activity. This handler can be explicitly invoked using the Compensate activity.
  • ConfirmationHandler: Specifies the activity to be executed when confirming the Body activity. This handler can be explicitly invoked using the Confirm activity.
  • CancellationHandler: Specifies the activity that is executed in the event of cancellation.

Compensate

 

This activity explicitly invokes the CompensationHandler for an activity contained in a CompensableActivity. If the Compensate activity is not used within the CancellationHandler, CompensationHandler, or ConfirmationHandler of a CompensableActivity, then you must specify the Target property.

The CompensationToken specified by the Target provides a means to explicitly confirm or compensate a CompensableActivity once the Body of the CompensableActivity has successfully completed.

...

  • Target (text box editor type) (type: CompensationToken): Specifies the InArgument  that contains the CompensationToken for this Compensate activity.

...


Confirm

 

This activity explicitly invokes the ConfirmationHandler for an activity contained in a CompensableActivity. If the Confirm activity is not used within the CancellationHandler, CompensationHandler, or ConfirmationHandler of a CompensableActivity, then you must specify the Target property.

The CompensationToken specified by the Target provides a means to explicitly confirm or compensate a CompensableActivity once the Body of the CompensableActivity has successfully completed.

...

  • Target (text box editor type) (type: CompensationToken): Specifies the InArgument  that contains the CompensationToken for this Confirm activity.

...


TransactionScope

This activity executes the contained activity in a single transaction. The transaction commits when the Body activity and all other participants in the transaction have completed successfully.

Activity Parameters

The CorrelationScope activity has three parameter that can be provided by manually inserted values or via IN arguments or variables other than the DisplayName, and one property that is only manageable in the workflow designer area:

...

  • Body: Specifies the activity to execute in a single transaction.

 

 

 

...