IBM Support

IJ42694: SETTING BOOLEAN FIELDS IN THE CUSTOM USER EXIT SCRIPT IS INCORRECTLY SETTING TO 1/0 INSTEAD OF TRUE/FALSE IN JSON FORMAT

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

  • Problem Description:
    
    Setting Boolean fields in the custom user exit script is
    incorrectly setting to 1/0 instead of true/false in JSON Format
    
    Steps:
    
    1) Navigate to Object Structure application and duplicate MXPO
    
    2) Create a Publish Channel based on new OS, enable listener and
    publish JSON options.
    
    3.) Navigate to Automation Scripts application and create a
    script for integration:
    
    - Publish Channel
    - User Exit
    - Python
    
    In your code, set true/false in the custom or OOB field,
    example:
    
    irData.setCurrentData("ISNEWPOLINE",True)
    irData.setCurrentData("LINEISDELETED",False)
    
    4. Create a new PO and Save it.
    
    Check Message Tracking to see outbound message results.
    
    Expected Results:
    
    "isdistributed": true,
    "lineisdeleted": false,
    
    Results:
    
    "isdistributed": 1,
    "lineisdeleted": 0,
    
    
    System Information:
    Tivoli's process automation engine 7.6.1.2
    IBM Tpae Integration Framework 7.6.1.2
    

Local fix

Problem summary

Problem conclusion

  • A fix for this APAR will be included in a future release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ42694

  • Reported component name

    INTEGRATION

  • Reported component ID

    5724R46I1

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-09-19

  • Closed date

    2023-01-22

  • Last modified date

    2023-01-22

  • 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

    INTEGRATION

  • Fixed component ID

    5724R46I1

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSLKT6","label":"Maximo Asset Management"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"761","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
22 January 2023