IBM Support

JR53046: YOU SEE AN ERROR SYMBOL IN FRONT OF [ARRAY].SORT(FUNCTION(A,B){RETURN A-B}) IN PROCESS DESIGNER

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as fixed if next.

Error description

  • You receive a validation error in the IBM Process Designer
    JavaScript editor for the following string:
    
    ids.sort(function(a,b){return a-b});
    
    The message indicates that "ids" is an array. The function still
    works and you can get the correct result, but the red cross
    error symbol remains in front of the script.
    
    PRODUCTS AFFECTED:
    IBM Business Process Manager (BPM) Advanced
    IBM BPM Standard
    IBM BPM Express
    

Local fix

  • To resolve this error, split the code onto multiple lines, for
    example,
    
    function compare(a, b){
    return a-b;
    }
    ids.sort(compare);
    

Problem summary

  • No additional information is available.
    

Problem conclusion

  • A fix will be incorporated into a later release that updates the
     validation function to allow inline functions in the JavaScript
     editor.
    

Temporary fix

Comments

APAR Information

  • APAR number

    JR53046

  • Reported component name

    BPM ADVANCED

  • Reported component ID

    5725C9400

  • Reported release

    856

  • Status

    CLOSED FIN

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-04-13

  • Closed date

    2015-07-20

  • Last modified date

    2015-08-21

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

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

Fix information

Applicable component levels

  • R856 PSN

       UP

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

Document Information

Modified date:
21 August 2015