IBM Support

IJ43818: WHEN CLEAR THE VALUE FOR LONG_DESCRIPTION FIELD, IT NOT TRIGGER THE AUTOMATION SCRIPTION RUN ACTION METHOD

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

  • ERROR DESCRIPTION:
    When clear the value for Long_description field, it not trigger
    the automation scription run action method
    
    
    PERFORMANCE ISSUE:
    No
    
    STEPS TO REPRODUCE:
    1- Go to application designer, and search for WOTRACK;
    2- Add a Multiline Textbox Properties under Work
    RequiredDescription field, put DESCRIPTION_LONGDESCRIPTION
    in attribute and save the change;
    3- Go to automation script application and create Script with
    Attribute launch point;
    4- Launch point: WO-ATT-LONG-DESCRIPTION, description: Test long
    description, Object:WORKORDER, Attribute:
    DESCRIPTION_LONGDESCRIPTION, Events: Run Action;
    5- Click Next, Script: WO-ATT-LONG-DESCRIPTION, Description:
    Test long description,
    Script Language: JavaScript,and click next;
    6- Paste below script to it:
    from psdi.mbo import MboConstants
    
    from psdi.util.logging import MXLoggerFactory
    
    
    
    if (mbo.isNull("DESCRIPTION_LONGDESCRIPTION") is False):
      mbo.setValue("DESCRIPTION",
    mbo.getString("DESCRIPTION_LONGDESCRIPTION")[0:50],
    MboConstants.NOACCESSCHECK)
    
    else:   mbo.setValueNull("DESCRIPTION",
    MboConstants.NOACCESSCHECK)
    7- Click Create button.
    8- Go to Work Order Tracking application, find an exists record,
    input values in Long Details field, tab out.
    
    
    
    
    CURRENT ERRONEOUS RESULT and EXPECTED RESULT::
    You will find that value populated to Work Required field
    automatically, now you clean the value of Details, the expected
    behavior is Work Required filed value been cleared as well, but
    nothing happen after you clean the value of Details
    
    
    ENVIRONMENT (SYSTEM INFO):
    Tivoli's process automation engine 7.6.1.2-IFIX20201017-0046
    Build 20200715-0100 DB Build V7612-284 HFDB Build HF7612-08,
    

Local fix

  • N/A
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Maximo users                                                 *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * WHEN CLEARING THE VALUE ON A LONG_DESCRIPTION FIELD,         *
    * AUTOMATION SCRIPT WITH ATTRIBUTE LAUNCHPOINT DOES NOT        *
    * EXECUTE                                                      *
    ****************************************************************
    ERROR DESCRIPTION:
    When clearing the value in the Long Description field, it does
    not trigger the automation script associated with the run action
    attribute launch point.
    STEPS TO REPRODUCE:
    1 Go to application designer, and search for WOTRACK;
    2 Add a Multiline Textbox under the Description field on the
    Main tab and set the attribute to DESCRIPTION_LONGDESCRIPTION.
    Save the change.
    3 Go to automation script application and create script with
    attribute launch point as follows:
    i Launch point: WO-ATT-LONG-DESCRIPTION.
    ii Description: Test long description.
    iii Object: WORKORDER
    iv Attribute: DESCRIPTION_LONGDESCRIPTION
    v Events: Run Action
    4 Click Next and enter the following:
    Script: WO-ATT-LONG-DESCRIPTION
    Description: Test long description,
    Script Language: javascript
    5 Click next and enter the following script:
    from psdi.mbo import MboConstants
    from psdi.util.logging import MXLoggerFactory
    if (mbo.isNull("DESCRIPTION_LONGDESCRIPTION") is False):
      mbo.setValue("DESCRIPTION",
    mbo.getString("DESCRIPTION_LONGDESCRIPTION")[0:50],
    MboConstants.NOACCESSCHECK)
    else: mbo.setValueNull("DESCRIPTION",
    MboConstants.NOACCESSCHECK)
    6 Click Create button.
    7 Go to Work Order Tracking application
    8 Find an existing record and input a value in the Multiline
    Textbox you added in Step 2 (DESCRIPTION_LONGDESCRIPTION). You
    will notice that on tabbing out, the Description field gets set
    from the execution of the autoscript.
    9 Clear the value you entered in Step 8 so that the Multiline
    Textbox is null again.
    CURRENT ERRONEOUS RESULT:
    The value is not cleared from the Description field. It appears
    that the autoscript did not execute as it did when adding the
    non-null value in Step 8.
    EXPECTED RESULT:
    On tabbing out of the Multiline Textbox after setting the value
    to blank/null, the autoscript would execute and set the
    Description field to be blank/null also.
    ENVIRONMENT (SYSTEM INFO):
    Tivoli's process automation engine 7.6.1.2-IFIX20201017-0046
    Build 20200715-0100 DB Build V7612-284 HFDB Build HF7612-08
    

Problem conclusion

  • The fix for this APAR will be contained in a future release.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ43818

  • Reported component name

    MAXIMO SYSTEMS

  • Reported component ID

    5724R46AV

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-10-13

  • Closed date

    2022-11-21

  • Last modified date

    2022-11-21

  • 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

    MAXIMO SYSTEMS

  • Fixed component ID

    5724R46AV

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:
21 November 2022