Using Transactions

The following diagram shows the sequence of calls, which external system shall perform for the following purposes:

  • To execute the Operations Public API methods within the bounds of transaction.
  • To obtain the overall status of tasks scheduled after transaction commit.

  1. txn.Begin opens a transaction.
  2. In this step, the external system calls a set of Operations Public API methods.
  3. txn.Commit closes a transaction. Operations schedules and runs a set of tasks.
  4. pem.getRequestStatus retrieves the overall status of tasks scheduled on previous step.