My Oracle Support Banner

How To Build An Instance Flow Trace URL From The Instance ID (Doc ID 2504094.1)

Last updated on AUGUST 15, 2023

Applies to:

Oracle SOA Suite - Version 12.2.1.2.0 and later
Information in this document applies to any platform.

Goal

On : 12.2.1.2.0 version, BPEL Service Engine

How to build an instance Flow Trace URL from the Instance ID?

Rather than finding a URL for a specific FlowID, We’d like to find the URL for a specific InstanceID

For example, navigating to the flowID gives us this (see attached screenshot)

The red highlighted boxes are Instances with individual links which I can click to visit that specific Instance. I’d like a browser URL to access this directly, given that I already know the Instance ID.

Using Browser debug, I have ascertained that the URL is something like this:

https://<HOSTNAME>:<PORT> /em/faces/adf.task-flow?adf.tfDoc=/WEB-INF/soa/mgmt/bpel/flow/bpel-flow-diagram-ui.xml&adf.tfId=bpel-flow-diagram-ui&instanceIdKey=1319007&_afrRedirect=615017354807781

The “instanceIdKey=” value is easy to find, but I cannot work out how “afrRedirect=” is generated.

If I leave off “afrRedirect=” the URL loads but only for Workflows I have recently already visited manually

So it isn’t reliable. We have very complex Flows and subflows in the system and being able to visit the Instance URL directly will be a huge benefit.
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.