Track the Status of Integration Instances

You can track fields in messages on which you have defined business identifiers on the Instances page during runtime. These fields are available for tracking on the Instances page because you defined at least one business identifier in the Business Identifiers panel during design time.

View the Slowest Running Activities in an Integration Instance

To diagnose performance issues, you can view the activities in the activity stream by their elapsed time. This ability ensures that the most time-consuming activities show first in the list and the best performing activities appear at the bottom. This functionality provides you with an immediate performance view and eliminates the time-consuming task of clicking each individual message or a large number of iterations in a looping action to identify time-consuming activities.

Understand the following behavior:
  • The duration is not shown for all activities. The duration for an activity is the time from the beginning to the end of activity execution. Not all activities have both times (for example, a trigger or a throw action) because both are not applicable.
  • The duration may not be available even for activities that have both times (such as a map action). This is because availability of these times depends on the integration tracing level. For example, an invoke action always appears, but other actions appear only when the instance is executed with the tracing level set to debug.
  • Only the top 10 slowest activities are shown in the table. Your integration may have many more actions.
  • You can view the overall time a looping action (for example, a while action or a for-each action) took to execute all its iterations. You can also expand the looping action to view the following:
    • If your looping action had less than 10 iterations, all iterations and their times to execute are shown.
    • If your looping action has more than 10 iterations, only the ten slowest iterations and their times to execute are shown.
  1. Go to the row of the integration instance to view. The Duration column shows the time that an instance took to execute.
  2. Click View Details View icon.

    The activity stream is displayed.

  3. Click View slowest activities View slowest activities icon.

    The total duration of the instance is displayed at the top. The activities that took the longest amount of time to execute are displayed in a table. The final column shows the percentage of time each activity took to execute based on the total duration of the instance. For this example, getWeatherInfo included a looping action that iterated 13 times.


    The activity stream shows the instance ID at the top. Below is the tracing level. To the right are three icons. The first icon is selected. The total time for the integration instance to execute is shown. Below this is a table with columns for activity, time, and percentage.

  4. Expand the looping action (getWeatherInfo) to view the iterations. For this example, the looping action was executed 13 times. The 10 slowest-running iterations are shown.


    The activity stream shows the instance ID at the top. Below is the tracing level. To the right are three icons. The first icon is selected. The total time for the integration instance to execute is shown. Below this is a table with columns for activity, time, and percentage. The 10 slowest-executing iterations are shown in the table.

  5. Use this functionality to identify and debug slow running activities.
  6. Click View slowest activities View slowest activities icon again to return to the activity stream. This link enables you to toggle back and forth.

Discard an Instance on the Instances Page

  1. Hover over the row of the instance to discard, then select Abort Abort icon.


    The row shows the primary business identifier, instance ID value, current status, the duration of the instance, and three icons. The middle icon is selected to display the word Abort.

    This option is only visible under the following scenarios:
    • In-progress instances of asynchronous integrations (both scheduled and nonscheduled).
    • Waiting and paused instances of schedule integrations. Attempting to discard other types of instances results in an error message being displayed.

View the Status of Future Schedule Integrations

Schedule integrations that have not yet run are displayed as Queued on the Instances page. The Duration column shows the label Scheduled on and the time at which the queued integration is scheduled to run (for this example, in four minutes).


The Primary Identifier, Instance Id, Status, Business Identifiers, and Duration columns are shown.

  1. Hover over the queued integration in the Duration column to display the full date and time at which the queued integration is scheduled to run.
  2. Click View Details View details icon or click the business identifier in the Primary Identifier column of a queued integration. The Activity Stream panel opens in either place and shows the time at which the queued integration is scheduled to run.


    The Activity Stream panels the instance ID. After that is the label Production. After this is a time stamp and a message saying that the scheduled run is queued and will execute on a specific date. To the right are the expand and download logs icons.

View the Activity Stream on the Instances Page

  1. Hover over an instance, then select View Details View icon to view the activity stream of the instance.

    The activity stream shows details about the movement of the message through the integration, including where any failures occurred. The message flow through each action is also shown.

  2. Expand the invoke connection.

    Key child messages of the parent invoke connection are displayed.


    The Activity Stream is shown with various messages in the message flow. A time stamp appears above each. In the upper right is the download logs icon. To the upper right is the Activity Stream icon and Search icon.

    The date and time according to your user preferences are displayed. If your instance contains logic actions (for example, a while action or a for-each action with multiple iterations), each iteration is shown in the activity stream and can be expanded to show specific details about the message flow.


    The for-each action is shown in the activity stream with four iterations that can each be expanded.

  3. Click Download Download icon at the top of the activity stream to download the activity stream logs for the entire instance.
  4. Click View Payload View icon to view the payload for that part of the integration flow.


    The View Payload icon is selected to show the payload in the activity stream. To the right of the icon is a time stamp and wording saying the message was received by the invoke Send_Zip. To the right are download, copy, and toggle line number icons.

  5. Perform tasks within the payload.
    Element Description
    Summary Click to view a summary of payload details.
    Details Click to view more specific payload details.
    Download Payload Download icon Click to download this part of the payload to your desktop.
    Copy Payload Copy to clipboard icon Click to copy this part of the payload for pasting into a document.
    Toggle Line Numbers Toggle line numbers icon Click to show or hide line numbers in the payload.

View the Child Instances of a Parent Instance

If your instance invokes child instances (for example, an integration action in your flow is invoking child integrations), you can view those instances on the Instances page.

  1. Hover over a row and select View Child Instances.


    The cursor is hovering over the actions menu of a business identifier in the row to show options for Schedule and View Child Instances.

    You can also view invocations of child instances (local invokes) in the activity stream.


    The activity stream shows details about the parallel for-each failure and local invoke failure. The Summary button, Details button, download icon, copy icon, and line numbering icon are shown. After this is the payload for the local invoke.

View the Activity Stream of a Child Integration Separately from the Parent Integration

You can view a child integration being invoked by a parent integration in a separate activity stream. You can also view the separate activity streams for one integration that invokes another integration, which then invokes a child integration. Each activity stream is connected by a Back icon button that provides easy access.

See Invoke a Child Integration from a Parent Integration.

  1. Hover over the instance of a parent integration that invokes a child integration.
  2. Click View Details View details icon.

    The activity stream is displayed.

  3. Expand the invoke connection.

    The View child instance details link is displayed. This is where the instance of the child integration is invoked.


    The activity stream shows details about the parent integration. The expand and download icons are shown at the top. After this are the messages in the activity stream. The Wire Message sent to Local Integration child section shows the link called View child instance details being clicked.

  4. Click View child instance details to access the instance of the activity stream for the child integration. Note that Integration: Child and the integration version number are also displayed after the instance ID at the top.


    The activity stream shows details about the child integration. The expand and download icons are shown at the top. After this are the messages in the child activity stream.

  5. Click Back icon to return to the instance of the activity stream for the parent integration.
  6. Return to the Instances page and hover over the instance of an integration that invokes another integration, which then invokes a child integration.
  7. Click View Details View details icon.
  8. Expand the invoke connection.
  9. Click View child instance details to access the instance of the activity stream for the integration being invoked.
    The activity stream shows details about the child integration. The refresh, expand, download icons are shown at the top. After this are the messages in the child activity stream. The View child instance details link is being clicked.

    Note that the parent name and the integration version number are displayed at the top.

  10. Expand the invoke connection.


    The activity stream shows details about the child integration. The refresh, expand, download icons are shown at the top. After this are the messages in the child activity stream. The View child instance details link is being clicked.

  11. Click View child instance details to access the instance of the activity stream for the child integration being invoked.

    Note that the child name and the integration version number are displayed at the top.


    The activity stream shows details about the child integration. The refresh, expand, download icons are shown at the top. After this are the messages in the child activity stream. The View child instance details link is being clicked.

  12. Click Back icon twice to return to the instance of the activity stream for the top level integration.

View the Display of HTTP Headers Separate from the Payload

HTTP headers associated with a payload are displayed separately from the payload for ease of viewing in the activity stream.

  1. Click View Details View details icon.


    The activity stream shows a recoverable error message link at the top. After this, the tracing level is set to debug. Two icons appear to the far right. In the upper right corner of the activity stream are two other icons. After the tracing level are entries that show the movement of the message payload through the integration.

    If HTTP headers are associated with the payload, two tabs are displayed: Payload and Headers.


    The activity stream shows a recoverable error message link at the top. After this, the tracing level is set to debug. One icon appears to the far right. After this are the Payload tab (which is selected) and the Headers tab. To the right are three icons. After this, the payload content is displayed.

  2. Click Headers to view details about the HTTP headers associated with the payload.


    The activity stream shows a recoverable error message link at the top. After this, the tracing level is set to debug. Two icons appear to the far right. After this are the Payload tab and the Headers tab (which is selected). To the right are three icons. After this, the header content is displayed.

View File Metadata for Large Payloads in the Activity Stream

You can view file metadata for large payloads in the activity stream.

For example, if an integration performing inbound polling sends a CXML payload in GZIP format, the payload is shown in readable format in the activity stream. The payload size and media type are also shown.

View the Activity Stream for Adapters Created with the Rapid Adapter Builder

When the tracing level is set to Debug, you can view messages for the top level invoke connection and any invoke connections it calls. You can expand each invoke connection being called to view messages for preprocessing logs, wire messages, and postprocessing logs.

  1. Click View Details View details icon for an instance that includes an adapter created with the Rapid Adapter Builder.
  2. View the activity stream and note that a single invoke connection (listMembers) for an adapter created with the Rapid Adapter Builder is calling multiple invoke connections.


    The activity stream shows a single invoke expanded to show messages for messages received, two invokes, the end of processing, and a message processed.

  3. Expand an invoke. Each invoke can have preprocessing and postprocessing loggers before and after the invocation. Wire messages sent and received by listMembers are also shown.


    The activity stream shows an invoke expanded to show messages for preprocessing loggers, wire messages sent and received, and postprocessing loggers.

  4. Click View Details View details icon to view details about the payload and the messages being logged.