What is Transaction Instance?
  • 03 Oct 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

What is Transaction Instance?

  • Dark
    Light
  • PDF

Introduction

A Transaction Instance is any instance that goes through certain stages in a transaction.

Each message sent from the configured app, such as a Logic App or Power Automate, is mapped to a user-defined transaction schema and displayed on the tracking page.

Business Activity Monitoring (BAM) creates a new workflow instance for each run of a Logic App or Power Automate. For example, By default each workflow instance operates in parallel, so no workflow has to wait before starting a run. Users can examine what occurred during that run, including the status of each transaction in the workflow as well as the inputs and outputs for each stage.

Business scenario

The transaction orchestration is depicted in the image below. This is how each transaction instance will appear.

MicrosoftTeams-image 6.png

The image below shows a stage graph of a transaction instance.

Transaction Diagram.png

In this example, getOrders is the Start Transaction that will receive the order details first.

segregateOrders is the next step, which separates that specific order based on any conditions.

The next stage instance will be either accept orders or drop orders based on the condition specified in segregateOrders.

There are four levels of transaction status:

  1. Success- The transaction instance flag will be indicated in Green color.
  2. Inprogress- The transaction instance flag will be indicated in Orange color.
  3. Failure - The transaction instance flag will be indicated in Red color.
  4. Inprogress with failure- The transaction instance flag will be indicated in Red color.

There are three levels of stage status:

1. Success - Stage instance will be filled in Green color.
2. Inprogress - Stage instance will be filled in Orange color.
3. Failure - Stage instance will be filled in Red color.


Was this article helpful?