X

The Integration blog covers the latest in product updates, best practices, customer stories, and more.

Using the next generation Activity Stream

Mamta Sangwan
Senior Member Technical Staff

For debugging an instance or check payload in an instance, user had to use Audit Trail and Tracing on Tracking details screen. Since the information was scattered at two places, user had to keep switching between them to get the complete picture of the Instance. 
With this new Activity Stream, we are clubbing Audit Trail with Tracing information and showing more compact and easily readable Activity Stream.

Prerequisite for Activity Stream

  1. Enable feature flag: 
    oic.ics.console.monitoring.tracking.improved-activity-stream
  2. The minimum Oracle Integration version required for the feature is 191030.0200.32180

Step By Step Guide to View Activity Stream

  1. Enable Tracing (with payload if required) for the integration. This is to view detailed payload information during development cycle. For production, it is recommended to keep Tracing turned off.
  2. Run the integration to create an instance.
  3. Navigate to Monitoring → Tracking page and check for the instance user wants to view Activity Stream
  4. Click on the primary identifier link of chosen instance to navigate to Tracking Details page. 
  5. Click on View Activity Stream menu from the Hamburger menu to display the new Activity Stream panel.

NOTE: 

To view payload, enable Tracing and payload. Follow How to enable and use tracing in less than 5 min to enable tracing

 

Features in Activity Stream:

  1. Click on Message/Payload to view (lazy load) the payload for the action
  2. Expandable loop section to view flow execution inside For-Each/While loop (available only if tracing with payload is enabled)
  3. Red node to indicate Error. Errored instances are displayed in a descending execution sequence to show the Error at the very top.
  4. Expand payload to full screen
  5. Date and Time are shown according to User Preferences
  6. Each Message/Payload section has Copy to Clipboard option, that allows user to copy the payload to clipboard
  7. Since payload information is derived from log files (which can rotate as and when newer data gets written), older instances might no longer display the payload information on Activity Stream
  8. There are two level of download 
    • Download button at the top. User can download complete Activity Stream using this button
    • Download button inside Message/Payload section to download specific Message/Payload
              

REST API:

To View Activity Stream for a given instance ID:

curl -1 <user-name>:<password> -k -v -X GET -H 'Content-Type:application/json' https://<host-name>/ic/api/integration/v1/monitoring/instances/<instance-id>/activityStream

Join the discussion

Comments ( 1 )
  • Santosh Wednesday, November 6, 2019
    Nice feature! and Thanks for explaining in detail.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.