IBM Support

JR64191: AFTER YOU UPGRADE, YOU ARE UNABLE TO OPEN A WORK ITEM IN AN ENVIRONMENT CONFIGURED WITH A CUSTOM PLUG-IN

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • When a custom plug-in is configured with the Case desktop, and
    the plug-in loads icm.model classes, you see a JavaScript error
    when you open a work item after you upgrade to IBM Business
    Automation Workflow from IBM Case Manager.  An example is when
    you include icm.model.Case or icm.model.case.CaseActions in the
    Dojo define or require methods in the custom plug-in.  In
    opening the work item, the Work Detail Page does not open and in
     checking the browser console logs you might see the following
    error
    
    WorkItem.js:569 Uncaught TypeError: IcmCase._unretrievedInstance
    is not a function
    at Object.<anonymous> (WorkItem.js:569)
    at eval (dojo/_base/lang.js:385)
    at Object.retrieveCaseType (Solution.js:303)
    at Object._hookupCase (WorkItem.js:568)
    at Object._retrieveStepCompleted (WorkItem.js:546)
    at Object.requestCompleteCallback (WorkItem.js:348)
    at Object._onFinished (ecm/model/Request.js:667)
    at Object.eval (ecm/model/Request.js:300)
    at XMLHttpRequest.eval (dojo/_base/lang.js:385)
    
    PRODUCTS AFFECTED
    IBM Business Automation Workflow
    IBM Cloud Pak for Business Automation
    

Local fix

  • Workaround:
    Modify the JavaScript in custom plug-in so that the JavaScript
    files do not have any Dojo define or require that uses
    icm.actions.case.CaseActions, which in-turn loads
    icm.model.Case. The loading of icm.model.Case from a plug-in is
    related to the failure.  If you need to use anything from
    icm.model.Case, you can use the class directly with
    icm.model.Case, instead of defining it in the Dojo require or
    define.
    

Problem summary

  • No additional information is available.
    

Problem conclusion

  • A fix is available or will be available that ensures you do not
    see a JavaScript error when you open a work item.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR64191

  • Reported component name

    BUS AUTO WORKFL

  • Reported component ID

    5737H4100

  • Reported release

    K00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-09-23

  • Closed date

    2021-10-14

  • Last modified date

    2021-10-14

  • 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

    BUS AUTO WORKFL

  • Fixed component ID

    5737H4100

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JB4","label":"IBM Business Automation Workflow"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"20.0.0.1"}]

Document Information

Modified date:
18 October 2021