Oracle SOA Suite (MOSC)

MOSC Banner

Should a ForEach activity show all loops in the Flow Instance (EM console)

edited Nov 19, 2019 3:28PM in Oracle SOA Suite (MOSC) 1 commentAnswered ✓

When using a ForEach activity in a BPEL 2.0 process, shouldn't the flow trace (in EM console) show all iterations the process took?

I created the following:

Variable1 - data type "xsd:integer"

ForEach1, with Counter Name "ForEach1Counter" and hard-coded counter values:  Start 1, Finish 3

Scope1 (child of ForEach1)

Assign1 (child of Scope1) - This simply assigns ForEach1Counter to Variable1

The expectation is that this will loop 3 times, assigning values 1, then 2, then 3 to Variable1.  When I look at this in the EM console, it only shows the flow trace iterate 1 time, assigning "1" to Variable1.

What's interesting is that, in our actual usage of the ForEach (not just the dummy example above), it seems as if the ForEach activity performs all iterations as expected, but just doesn't show each iteration in the flow trace.  In that "real" code, we invoke a SOAP reference within each iteration.  In that flow trace, we see all of the calls to those SOAP references on the 1st screen when pulling up a composite's flow trace.  But when we drill into the BPEL process step within that composite flow trace, the ForEach only shows 1 iteration (not multiple).

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center