Workflow: Create Terminating Transaction Correlated with Upstream Transaction

In this scenario, you create a custom transaction, which needs to correlate with an upstream transaction but not with another downstream transaction.

  1. Retrieve the correlation information stored by the previous transaction.
  2. Parse the retrieved correlation information into a correlation header:
    ch=appd.parseCorrelationInfo(c)
  3. Start a custom transaction using the correlation header:
    trx=appd.startTransaction(ch)
  4. Optional: Make an exit call.
  5. End the transaction:
    trx.end()