IBM Support

JR56229: IN A BPEL PROCESS, A NESTED FOREACH ACTIVITY LOOPS UNEXPECTEDLY.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • In a BPEL process, you define a ForEach activity within another
    ForEach activity and specify an array property within a complex
    data type variable as the Index-Variable. During execution, the
    array property of the variable instance is empty and,
    accordingly, you expect the inner ForEach activity not to loop.
    However, the inner ForEach activity loops.
    
    This issue occurs only if the XCI engine is configured to be
    used to evaluate XPath expressions. It does not occur when you
    use the JXPath engine.
    

Local fix

  • Change the configuration to use the JXPath engine instead of the
    XCI engine to evaluate XPath expressions. For more information,
    see "Evaluating XPath expressions in BPEL processes with IBM
    Business Process Manager" at
    http://www.ibm.com/support/docview.wss?uid=swg21496012.
    

Problem summary

  • To handle the evaluation of an XPath expression in this
    scenario, the XCI engine requires a specific cursor. However,
    the specific cursor is not available. As a result, the XCI
    engine operates on the wrong level of the data object and,
    therefore, the XCI engine returns a wrong counter value, which
    causes the ForEach activity to iterate even though it should
    not.
    

Problem conclusion

  • A fix is available for IBM BPM V8.0.1.3 that ensures XCI can
    handle this scenario during the XPath evaluation.
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR56229:
    
    1. Select IBM Business Process Manager with your edition from
      the product selector, the installed version to the fix pack
      level, and your platform, and then click Continue.
    
    2. Select APAR or SPR, enter JR56229, and click Continue.
    
    When you download fix packages, ensure that you also download
    the readme file for each fix. Review each readme file for
    additional installation instructions and information about the
    fix.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR56229

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-07-14

  • Closed date

    2016-09-02

  • Last modified date

    2016-09-02

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    BPM ADVANCED

  • Fixed component ID

    5725C9400

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
04 September 2023