IBM Support

JR52765: JAVASCRIPT API TWSEARCH RETURNS ONLY PROCESS INSTANCES THAT HAVE TASKS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When you use TWSearch to query process instances, only instances
    that have tasks are returned.
    
    For process instances that are stalled and are not moving
    forward (tasks do not exist for it). They
    are not failed and are in Active state.
    
    It is not possible to display these process instances
    through Process Admin --> Process Inspector, but it's possible
    to retrieve them through BPM Rest API (Get Current State call).
    

Local fix

Problem summary

  • Even if an administrator performs a process instance search
    within a JavaScript step, the query involves checking for task
    instance-based authorization.  As a result, process instances
    that do not have tasks are not returned.
    

Problem conclusion

  • A fix is available for IBM BPM V8.5.0.1 that allows to enable
    process instance queries that are performed with administrator
    authorization to return instances that do not have tasks.
    
    You can switch off the authorization check to enable the new
    behavior by inserting the following elements into the
    properties element of the 100custom.xml file:
    
      <common merge="mergeChildren">
         <search-execution merge="mergeChildren">
           <javascript-administrative-search-processes-with-user-
            authorization merge="replace">false
           </javascript-administrative-search-processes-with-user-
            authorization>
         </search-execution>
      </common>
    
    On Fix Central (http://www.ibm.com/support/fixcentral), search
    for JR52765:
    
    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 JR52765, 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

  • Not applicable
    

Comments

APAR Information

  • APAR number

    JR52765

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-10

  • Closed date

    2015-11-19

  • Last modified date

    2015-11-19

  • 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 STANDARD

  • Fixed component ID

    5725C9500

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSFTDH","label":"IBM Business Process Manager Standard"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
19 November 2015