Recommendation on app monitoring from external call?

I want to app monitor a process that is kicked off with an external call. Any recommendations on how I can do that?

For context we have a flow that has an external API call create a purchase order and eventing takes that PO through to received. I am trying to track down a conflict happening preventing the receipt from completing (failed to modify because of other use error) and would love to use app monitoring to trace if that is possible.

Previously answered here, but kind of buried so hard to find: How to debug when the WriteDirectory logic block works if it is invoked from debugger but NOt outside the debugger - #6 by ian.p

1 Like
{
  "records": [
    {
      "appData": {
        "nsCoxPartnerDealerId": "CoOrgTestId_DMSplus_RpDevPartner_D_3",
        "nsCoxSupplierId": "0109816d-64c8-4b71-aa77-ed75edbf3d0c",
        "nsCoxBuyerId": "720eb594-2030-4c8b-9723-e50b1fd7c881",
        "NwPerformanceTrackingSessionId": "EPELLENINBOUNDCALL",
        "nsCoxCreateEmergencyPOLines": [
          {
            "nsCoxManufacturerCodeText": "HY",
            "nsCoxManufacturerPartNo": "ELLPART1",
            "PurchasingQuantity": 2,
            "UnitOfMeasure": "nsCoxEA",
            "Price": {
              "CurrencyCode": "USD",
              "CurrencyBigDecimalValue": 50
            },
            "CreateDateTime": "2025-03-11",
            "nsCoxRepairOrderNumber": "4000004469",
            "nsCoxCustomerID": "d2d13071-8595-45c4-8cc6-fa42b31f03e3",
            "nsCoxRepairOrderPartSequenceNumber": "ghost",
            "nsCoxStockNumber": "",
            "nsCoxVehicleIdentificationNumber": "",
            "nsCoxReceiptRequired": null,
            "nxCoxInventoryLocation": "7b039df6-19a2-11ee-ba9d-439768ff909e",
            "nsCoxFulFillmentMethod": "EP"
          }
        ],
        "ProcurementOrderNotes": [
          {
            "Notes": "ABC",
            "ProcurementOrderNoteType": "INTERNAL"
          }
        ]
      }
    }
  ],
  "createContainer": true,
  "containerPerRecord": false,
  "commitContainer": true,
  "containerType": "DEFAULT"
}

I tried with the above call with no luck @ian.p

Please lmk if I am doing something wrong

We are not directly calling PO API here so maybe the ID gets lost?

You added NwPerformanceTrackingSessionId in the JSON body of the request.

It actually needs to be its whole own Header attribute of the request

1 Like