---
schema_version: "1"
id: d9cd482f6f79807effc1406ae77e03a586961f66eb18e2f63395e790ec7c9275
title: Integration Procedure Event Tracking
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/os_integration_procedure_event_tracking_57801.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.os_integration_procedure_event_tracking_57801.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: cceda467ccfa6a7a5e1ba41d7186fcf5038e2675a1cb1b338ad5aee06090e604
description: For Integration Procedures, the following events are tracked. When one Integration Procedure calls another, and you enable tracking only in the calling Integration Procedure, events in the called Integration Procedure are also tracked.
release: "264"
---
# Integration Procedure Event Tracking

For Integration Procedures, the following events are tracked. When one Integration Procedure calls another, and you enable tracking only in the calling Integration Procedure, events in the called Integration Procedure are also tracked.

To track events for specific Integration Procedures, see [Enable Tracking for Omnistudio Components](https://help.salesforce.com/s/articleView?id=xcloud.os_enable_tracking_for_omnistudio_components_57610.htm&release=264.0.0&type=5 "You can enable tracking for Omnistudio components by configuring triggers.").

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
        <colgroup>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d102207e40">
              <p style="margin-bottom:0;">Tracking Event</p>
            </th>
            <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d102207e46">
              <p style="margin-bottom:0;">Data Tracked</p>
            </th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="Tracking Event" class="slds-cell-wrap" style="vertical-align:top;" headers="d102207e40 ">
              <p style="margin-bottom:0;">All Integration Procedure Events</p>
            </td>

            <td data-label="Data Tracked" class="slds-cell-wrap" style="vertical-align:top;" headers="d102207e46 ">
              <ul>
                <li>
                  <p>CpuTotal</p>
                </li>

                <li>
                  <p>DMLRowsTotal</p>
                </li>

                <li>
                  <p>DMLStatementsTotal</p>
                </li>

                <li>
                  <p>HeapSizeTotal</p>
                </li>

                <li>
                  <p>OmniScriptId: The Id of the OmniScript__c sObject containing the definition of the Integration Procedure</p>
                </li>

                <li>
                  <p>OmniScriptType</p>
                </li>

                <li>
                  <p>OmniScriptSubType</p>
                </li>

                <li>
                  <p>OmniScriptVersion</p>
                </li>

                <li>
                  <p>ParentInteractionToken: The VlocityInteractionToken from the calling Omniscript or parent Integration Procedure.</p>
                </li>

                <li>
                  <p>QueriesTotal</p>
                </li>

                <li>
                  <p>QueryRowsTotal</p>
                </li>

                <li>
                  <p>SoslQueriesTotal</p>
                </li>

                <li>
                  <p>TestBatchUniqueKey: identifier for a group of test invoked together, with Preview suffix if run in Preview, included only for <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_test_proceduresintegration_procedures_for_unit_testing_55410.htm&amp;release=264.0.0&amp;type=5" title="An Integration Procedure that performs a unit test is a Test Procedure. You can use a Test Procedure to unit test almost anything an Integration Procedure can invoke, such as an Omnistudio Data Mapper, a Calculation Matrix, an Apex class, or another Integration Procedure.">Test Procedures</a>
                  </p>
                </li>

                <li>
                  <p>TestUniqueKey: identifier for a single test invocation, included only for Test Procedures</p>
                </li>

                <li>
                  <p>TrackingService: set to IntProc</p>
                </li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Tracking Event" class="slds-cell-wrap" style="vertical-align:top;" headers="d102207e40 ">
              <p style="margin-bottom:0;">Test Procedure events if <a href="https://help.salesforce.com/s/articleView?id=xcloud.os_add_debugging_data_to_test_procedure_event_tracking_57929.htm&amp;release=264.0.0&amp;type=5" title="When you run a Test Procedure in the Preview tab, JSON data for debugging is included in the Errors/Debug Output pane. To include this debugging data in VlocityTrackingEntry__c object records under the StepDebugInfo JSON node, you can set the value of the OmniAnalyticsTrackingDebug custom setting to True.">OmniAnalyticsTrackingDebug</a> is true</p>
            </td>

            <td data-label="Data Tracked" class="slds-cell-wrap" style="vertical-align:top;" headers="d102207e46 ">
              <ul>
                <li>
                  <p>Error Code</p>
                </li>

                <li>
                  <p>Error Message</p>
                </li>

                <li>
                  <p>Error Occurred</p>
                </li>

                <li>
                  <p>Request Payload</p>
                </li>

                <li>
                  <p>Response Payload</p>
                </li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Tracking Event" class="slds-cell-wrap" style="vertical-align:top;" headers="d102207e40 ">
              <p>Assert</p>
              <p style="margin-bottom:0;">(Only tracked for Test Procedures)</p>
            </td>

            <td data-label="Data Tracked" class="slds-cell-wrap" style="vertical-align:top;" headers="d102207e46 ">
              <ul>
                <li>
                  <p>assertConditionalFormula</p>
                </li>

                <li>
                  <p>assertFailureMessage</p>
                </li>

                <li>
                  <p>assertResult</p>
                </li>

                <li>
                  <p>ElementName</p>
                </li>

                <li>
                  <p>StepDebugInfo: included if the OmniAnalyticsTrackingDebug custom setting is set to true</p>
                </li>

                <li>
                  <p>variableData: data that is compared with the assertConditionalFormula</p>
                </li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Tracking Event" class="slds-cell-wrap" style="vertical-align:top;" headers="d102207e40 ">
              <p style="margin-bottom:0;">Error</p>
            </td>

            <td data-label="Data Tracked" class="slds-cell-wrap" style="vertical-align:top;" headers="d102207e46 ">
              <ul>
                <li>
                  <p>Action</p>
                </li>

                <li>
                  <p>assertConditionalFormula: included only for Test Procedures</p>
                </li>

                <li>
                  <p>assertFailureMessage: included only for Test Procedures</p>
                </li>

                <li>
                  <p>assertResult: included only for Test Procedures</p>
                </li>

                <li>
                  <p>ErrorTime</p>
                </li>

                <li>
                  <p>StepDebugInfo: included if the OmniAnalyticsTrackingDebug custom setting is set to true</p>
                </li>

                <li>
                  <p>variableData: data that is compared with the assertConditionalFormula, included only for Test Procedures</p>
                </li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Tracking Event" class="slds-cell-wrap" style="vertical-align:top;" headers="d102207e40 ">
              <p style="margin-bottom:0;">StepActionTime</p>
            </td>

            <td data-label="Data Tracked" class="slds-cell-wrap" style="vertical-align:top;" headers="d102207e46 ">
              <ul>
                <li>
                  <p>ElapsedTime</p>
                </li>

                <li>
                  <p>ElementName</p>
                </li>

                <li>
                  <p>ElementResult</p>
                </li>

                <li>
                  <p>ElementStepNumber</p>
                </li>

                <li>
                  <p>ElementType</p>
                </li>

                <li>
                  <p>StepResult</p>
                </li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="Tracking Event" class="slds-cell-wrap" style="vertical-align:top;" headers="d102207e40 ">
              <p>TestResult</p>
              <p style="margin-bottom:0;">(Only tracked for Test Procedures)</p>
            </td>

            <td data-label="Data Tracked" class="slds-cell-wrap" style="vertical-align:top;" headers="d102207e46 ">
              <ul>
                <li>
                  <p>TestStatus: Success or Failed</p>
                </li>

              </ul>
            </td>

          </tr>
        </tbody>
      </table>