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.
Note: Next generation Activity Stream is applicable to Orchestration Integrations only.
Prerequisite for Activity Stream
- Enable feature flag:
- The minimum Oracle Integration version required for the feature is 191030.0200.32180
Step By Step Guide to View Activity Stream
- 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.
- Run the integration to create an instance.
- Navigate to Monitoring → Tracking page and check for the instance user wants to view Activity Stream
- Click on the primary identifier link of chosen instance to navigate to Tracking Details page.
- Click on View Activity Stream menu from the Hamburger menu to display the new Activity Stream panel.
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:
- Click on Message/Payload to view (lazy load) the payload for the action
- Expandable loop section to view flow execution inside For-Each/While loop (available only if tracing with payload is enabled)
- Red node to indicate Error. Errored instances are displayed in a descending execution sequence to show the Error at the very top.
- Expand payload to full screen
- Date and Time are shown according to User Preferences
- Each Message/Payload section has Copy to Clipboard option, that allows user to copy the payload to clipboard
- 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
- 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
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