Defining Transactions
  • 19 Nov 2024
  • 4 Minutes to read
  • Dark
    Light
  • PDF

Defining Transactions

  • Dark
    Light
  • PDF

Article summary

Business scenario

Consider a scenario where a user has an e-commerce application and one of the modules in the user's application is to process the orders which may involve several transactions such as managing the orders, fulfilling the orders, shipping the orders, etc.

Order processing can be considered a business process in Turbo360 Business Activity Monitoring (BAM), and the list of transactions involved in this business process can be considered business transactions, which are New Order, Fulfill Order, and Ship Order.

Consider the transaction Fulfill Order for this demonstration, which will involve receiving the orders, and segregating the orders based on their validity.

If it is a valid order, the order should be accepted. Otherwise, the order should be declined. Thus, the activities involved in this transaction are getOrders, segregate orders, accept orders, and decline orders.

The steps that can be taken next are as follows:

  • Now, the user has to create a business process, order processing.
  • Users can create a list of stages for the business transaction.
  • Users can also configure the stage properties.
  • Click here to know more about how to create a business process, and to define milestones(stages) in a transaction.

  • Click here to know about how to create stages such as get orders, segregate Orders, acceptOrders, drop orders with the properties that users need to track for every stage.

  • Click here to know more about how to configure properties.

Add a Transaction

Custom Logging type

  1. Go to Transactions section in a Business Process
  2. Press the Add button in the Transactions pane
  3. Tracking name is a name given to a business transaction that is used to identify the transaction while tracking data
  4. Friendly name is a name assigned to it that appears only in the Business Activity Monitoring user interface for tracking data
  5. Select one among the available options in the Direction dropdown to represent if the transaction is Inbound or Outbound.
  6. Choose one or more status during which a transaction instance can be reprocessed. A transaction instance cannot be reprocessed if its status does not match any of the selected statuses.
  7. Enter the time period to purge the older data in the Purge data older than field
  8. Click the Create button complete adding a transaction to the corresponding business process

add trans.JPG

Data Queries type

  1. Go to Transactions section in a Business Process
  2. Press the Add button in the Transactions pane
  3. Tracking name is a name given to a business transaction that is used to identify the transaction while tracking data
  4. Friendly name is a name assigned to it that appears only in the Business Activity Monitoring user interface for tracking data
  5. Select one among the available options in the Direction dropdown to represent if the transaction is Inbound or Outbound.
  6. Choose between App insight or Log Analytics as the data source in the Type dropdown.
  7. Select the preferred resource
    create trans - data query.png
  8. Execute the desired transaction query to configure optional settings including correlation properties, transaction status threshold and much more.
  9. Click the Create button complete adding a transaction to the corresponding business process.

Update a Transaction

  1. Go to Transactions section in a Business Process
  2. Click the Edit icon next to any transaction in the Transactions pane
  3. The details to be updated vary for a transaction based on the current BAM type.
  4. Click Update

Import/Export a Transaction

This option is available only in the Custom Logging type of BAM.

  • Users can import and export a business transaction with the help of respective options available in the Transactions pane.
  • Users have the option to synchronize transactions while importing them.
StatusDefinitions
AddedNew Transaction can be imported to the Business Process
ModifiedIt indicates changes between the existing transaction and transaction details in the JSON file, which will override the existing transaction
No changeNo changes between the existing transaction and the transaction details in the JSON file
Not FoundJSON file doesn't contain the existing transaction details, which will delete the existing transaction upon selection

import transaction.jpg

Clone a Transaction

Transaction cloning is available only in the Custom Logging type of BAM.

  1. Go to Transactions section in a Business Process
  2. Click the Clone icon next to any transaction in the Transactions pane
  3. Provide a tracking name as well as a friendly name for the transaction and click Next.
  4. Clicking next will display the list of stages for which reprocessing is configured. Users can edit/remove the reprocess configuration(s) of their transaction stage(s) before cloning.
  5. Finally, click Clone, to clone a transaction.
  • The changes made in the original transaction will not get reflected in the cloned transaction.
  • Cloning can also be done within the Stage level by editing transaction flow.

clone1.jpg

clone 2.JPG

Clone 3.JPG

Added information

  • The users can aggregate transactions and stages in any way they want, and there are no restrictions on how they can do so.

  • In Business Activity Monitoring, the transaction will be implemented as an activity diagram which will be a familiar view to operators and business users.


Was this article helpful?