APAR status
Closed as program error.
Error description
it works if you update/change value to another value, but does not work when making field null. Scrip action is set to RUNACTION and VALIDATE. Steps to Reproduce: 1. In Automation Scripts application Create Script with Attribute Launch Point 2. Please see Script ASSETSPEC_NUMVALUE_ATTR_RUNACTION from java.util import Date #errorgroup = "Script Started"; #errorkey = "Script Started"; logger = service.getLogger("maximo.script") logPrefix = scriptName + " => " if (logger.isInfoEnabled()): startTime = Date().getTime() title = "****** ScriptName: " + scriptName + "; LaunchPoint: " + launchPoint + "******************************** TS: " + str(startTime) title_len = len(title) logger.info(logPrefix + "Begin Script " + "*" * title_len) logger.info(logPrefix + " " + title) logger.info(logPrefix + " " + "*" * title_len) #################################################### Custom code - Begin if (logger.isInfoEnabled()): logger.info(logPrefix + "ASSETSPEC.NUMVALUE isNull: " + str(mbo.isNull("NUMVALUE"))) logger.info(logPrefix + "ASSETSPEC.NUMVALUE value : " + mbo.getString("NUMVALUE")) #################################################### Custom code - End if (logger.isInfoEnabled()): endTime = Date().getTime() elapsedTime = str(endTime - startTime) logger.info(logPrefix + "End Script. Elapsed time in milliseconds: " + elapsedTime + " " + "*" * (len("Begin Script ") + title_len - len("End Script. Elapsed time in milliseconds: ") - len(elapsedTime) - 1)) 3. Go to Assets application and bring up Asset 61001 and open Specifications tab 4. For Attribute FUELCAP blank out value 200 5. For Attribute TAREWT modify it to 15000 In log you won't see the script run for making iut null, but will see it run when updating **************************************************************** **************************************************************** ***************** [2/14/22 10:24:10:501 PST] 000005f7 SystemOut O 14 Feb 2022 10:24:10:501 [INFO] [MAXIMOc1] [] ASSETSPEC_NUMVALUE_ATTR_RUNACTION => ****** ScriptName: ASSETSPEC_NUMVALUE_ATTR_RUNACTION; LaunchPoint: ASSETSPEC_NUMVALUE_RUNACTION******************************** TS: 1644863050499 [2/14/22 10:24:10:501 PST] 000005f7 SystemOut O 14 Feb 2022 10:24:10:501 [INFO] [MAXIMOc1] [] ASSETSPEC_NUMVALUE_ATTR_RUNACTION => **************************************************************** **************************************************************** ***************** [2/14/22 10:24:10:528 PST] 000005f7 SystemOut O 14 Feb 2022 10:24:10:528 [INFO] [MAXIMOc1] [] ASSETSPEC_NUMVALUE_ATTR_RUNACTION => ASSETSPEC.NUMVALUE isNull: False [2/14/22 10:24:10:528 PST] 000005f7 SystemOut O 14 Feb 2022 10:24:10:528 [INFO] [MAXIMOc1] [] ASSETSPEC_NUMVALUE_ATTR_RUNACTION => ASSETSPEC.NUMVALUE value : 15,000.0 [2/14/22 10:24:10:529 PST] 000005f7 SystemOut O 14 Feb 2022 10:24:10:529 [INFO] [MAXIMOc1] [] ASSETSPEC_NUMVALUE_ATTR_RUNACTION => End Script. Elapsed time in milliseconds: 30 Results: Script does not fire when setting to NULL Expected Results Should fire when set to null Product Version: Tivoli's process automation engine 7.6.1.1-IFIX20200624-1103 Build 20190514-1348 DB Build V7611-365 HFDB Build HF7611-26,
Local fix
n/a
Problem summary
**************************************************************** * USERS AFFECTED: * * MAXIMO * **************************************************************** * PROBLEM DESCRIPTION: * * ATTRIBUTE LAUNCH POINT IS NOT WORKING FOR ASSETSPEC.ALNVALUE * * AND ASSETSPEC.NUMVALUE NULL VALUES * ****************************************************************
Problem conclusion
The fix for this APAR is contained in the following maintenance package: release\fix pack for Release 7.6.1.3 Product
Temporary fix
Comments
APAR Information
APAR number
IJ38331
Reported component name
MAXIMO ASST MGM
Reported component ID
5724R46AM
Reported release
761
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt / Xsystem
Submitted date
2022-03-09
Closed date
2022-03-29
Last modified date
2022-03-29
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 ASST MGM
Fixed component ID
5724R46AM
Applicable component levels
[{"Line of Business":{"code":"LOB59","label":"Sustainability Software"},"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"}]
Document Information
Modified date:
30 March 2022