Versions Compared

Key

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

Introduction

The next-gen workflows enables you to correlate workflows with a application-specific values. These values can be anything, but typically represent an identifier of an entity in your domain.

For example, it could represent a customer, a document, a change request, and anything else.

When to use correlation?

Imagine you would like to get an approval before your execute a certain action. You can add a Get Approval activity to your workflow and suspend the workflow until you either receive the approval or a timer has expired. In order to connect that approval request to your workflow, you can pass on the correlation id of the current workflow so that once the approval has been given, the Application Service can signal back to the workflow that the decision has been made.