Technical Articles
Mark Corresponding Message Processing Log Entries upon Select on a Flow Step in the Integration Flow Model
With the release of version 2.50 of SAP Cloud Platform Integration (CPI), we enhanced the view of message processing log entries in the Run Steps list and their interaction with flow steps in the Integration Flow Model on the Message Processing Run page. This blog gives an overview and details of the enhancements implemented.
Here is a short list of the improvements:
- Selecting corresponding message processing log entry (run step) in the run step list upon click on a flow step in the integration flow model
- Marking all corresponding entries in the run step list upon click on a flow step or entry (run step) in the run step list
- Navigation through all marked entries
Let’s have a more detailed look.
Selecting and Marking of Message Processing Log Entries
Earlier we offered only the possibility to select the corresponding flow step in the integration flow model after clicking on some message processing log entry in the run step list.
Now it is possible to perform the reverse operation: if the user clicks on some flow step in the integration flow model, show corresponding entries (i.e. having the same model step id) in the run step list. We can find one or more such entries. If some entries are found, we select the first one of them (the latest one, because list entries are sorted by timestamp in descending order) and mark all entries found with narrow blue vertical ribbon on the left-hand side.
Fig 1. Click on “Process Call” flow step in the model
The same selecting and marking behavior is implemented, when the user clicks on some entry in the run step list. In this case the current entry is selected, and all corresponding entries are marked with the blue ribbon described above. The flow step in the integration flow model is also selected as in CPI release 2.47.
Fig 2. Click on “SFTP” entry (2nd element) in the run step list
Display Additional Information and Navigation
We have introduced a toolbar (element with dark blue background), which contains information about selected flow step and corresponding message processing log entries.
The toolbar consists of the following fields (from left to right) :
- “Title” field: name of the selected flow step (can show model step id instead of this name, if there is no integration flow model loaded due to non-existence or error and entry is selected directly in the list)
- “Counter” field: <consecutive number of the current entry> / <total count of entries belonging to the selected flow step>
- Button “Previous” to move to the previous entry
- Button “Next” to move to the next entry
If the user clicks on the integration flow model element, which has no corresponding run steps written and therefore no entries in the run step list, no entries are selected or marked in the run step list and toolbar contains either element name or model step id (if the element has no name – e.g. usual situation for connectors) and “0 / 0” in the “Counter” field.
Fig. 3. Click on “Sender” element in the model
If the user clicks on the integration flow model anywhere outside elements, selection and marking in the run step list are cleared, and toolbar contains only text “No integration flow element selected”.
Fig. 4. Click outside any elements in the model
Buttons “Previous” and “Next” are used to navigate through all marked message processing log entries, if we have more than one for the selected entry. Clicking on the button “Previous” moves selection in the list up to the previous (having later timestamp) marked entry. Clicking on the button “Next” moves selection in the list down to the next (having earlier timestamp) marked entry.
Fig. 5. Press navigation button(s)
Big Number of Entries (Several Pages)
If there are more than 500 message processing log entries, the run step list is divided into pages with a limit of 500 entries per page. The search for entries, which correspond to the selected flow step or entry in the list, is restricted to the current page. So, information about selected and marked entries is also restricted.
Sometimes we can select flow step in the integration flow model, but no corresponding entries can be found in the run step list. In this case no entries are selected or marked in the list. The toolbar is showing flow step name (or model step id) and “0 / 0” in the “Counter” field. Switching to another page preserves current selection, so if this page contains a previously selected run step, then the corresponding entries are marked and the first (i.e. the latest) of these entries is selected. A manual selection of either flow step or list entry is no longer necessary.
I hope you will enjoy using these improvements. In case of questions or feedback please feel free to comment on this blog.
Reference:
Message Processing in the CPI Web Application with the updated Run Steps View
Thanks a lot for this update. Definitely needed this improvement to troubleshoot the process. It was a nightmare to debug the Workforce integration with EC due to the multiple steps involved, but this reverse navigation will definitely help to traverse the path of the flow.
Dear Alexey
Thank you for delivering this much requested bi-directional navigation functionality. I've started using it in my troubleshooting and it is handy indeed. Kudos to SAP for helping to improver developer productivity!
Regards
Eng Swee