0% found this document useful (0 votes)
980 views6 pages

Maximo Automation Script Guide

The document describes how to create a simple automation script in IBM Maximo to copy a value from one attribute to another when a new record is created. It involves setting up an attribute launch point script on the primary phone attribute to copy the primary phone value to a current phone attribute. The script only requires one line of code to make this copy. Testing can be done by adding a new person record and the primary phone value will automatically copy over. This demonstrates how a simple script can be used without extensive scripting experience.

Uploaded by

soo7cs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
980 views6 pages

Maximo Automation Script Guide

The document describes how to create a simple automation script in IBM Maximo to copy a value from one attribute to another when a new record is created. It involves setting up an attribute launch point script on the primary phone attribute to copy the primary phone value to a current phone attribute. The script only requires one line of code to make this copy. Testing can be done by adding a new person record and the primary phone value will automatically copy over. This demonstrates how a simple script can be used without extensive scripting experience.

Uploaded by

soo7cs
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

11/03/2015

ASimpleAutomationScript(AssetManagement)

IBM

Signin | Register

Technicaltopics

Evaluationsoftware

Community

Events

SearchdeveloperWorks

Myhome Forums Blogs Communities Profiles Podcasts Wikis Activities IBMChampionprogram

ThisBlog

MyBlogs

PublicBlogs

Search

MyUpdates

anywhere asset bi

management maxim
maximo7.5 performance

Login
toparticipate

Aboutthisblog
WelcometotheAsset

ASimpleAutomationScript
PNolan | Jan10 | Visits(667)

ManagementBlog,whereyou
canreadtheperspectivesfrom

[Link]
Blogprovidestechnicalinsightsintothe

Therearetimeswhenyoumaywishtosetadefaultvalueforanewattributeonanapplication,but
[Link]
fromoneattributetoanother
asyouareenteringtherecord,thensometimesthebestwaytodothisiswithanAutomation
[Link]

Maximoproductsolutions.

usingadefaultcontrolora
Like

Share
Tweet

sounddauntingbutyoucancreateasimplescriptwithonlyasinglelineofcodethatwillcopythevaluefromoneattribute
toanother.
Onceyouaredonesubmittingyourscriptitgetsexecutedimmediatelyandthereisnoneedtorestartyourserveror
rebuild/redeploy

Links
Manuallyinstallandconfigure...

Recenttweets

[Link].
InthefollowingexampleinthePersonapplication,wehaveaddedauserdefinedattributecalledCURRENTPHONE,and

Follow@ServMgmtConnect

wewishto
automaticallycopythevaluefromPRIMARYPHONEtoCURRENTPHONEwhenthenewPersonrecordisbeingentered.
Wewilluse
anAttributeLaunchPointscriptthatcanbeusedtocustomizefieldvalidationsandactions.
1)GoToSystemConfigurationPlatformConfigurationAutomationScriptingclickonSelectActionCreate
ScriptingwithAttributeLaunchPoint:

[Link]

1/6

11/03/2015

ASimpleAutomationScript(AssetManagement)

2)Thenenterthefollowingvalues:

LaunchPoint:PHONE
Description:SettingCURRENTPHONEfromPRIMARYPHONE
Active:CHECKED
Object:PERSON
Attribute:PRIMARYPHONE

Clickonthe'Next'button.
3)Withinthe'CreateScriptwithAttributeLaunchPoint:Step2of3'addthefollowing:
Script:PHONE
Description:SettingCurrentPhonefromPrimaryPhone
ScriptLanguage:jython

[Link]

2/6

11/03/2015

ASimpleAutomationScript(AssetManagement)

4)WithintheVariablespane,[Link]:
Variable:PRIMARYPHONE
VariableType:INOUT
Override?CHECKED
BindingType:ATTRIBUTE
LaunchPointAttribute:PRIMARYPHONE

5)WithintheVariablespane,[Link]:
Variable:CURRENTPHONE
VariableType:INOUT
Override?CHECKED
BindingType:ATTRIBUTE
LaunchPointAttribute:CURRENTPHONE

[Link]

3/6

11/03/2015

ASimpleAutomationScript(AssetManagement)

Wedon'tactuallyneedtoexplicitlydefinethePRIMARYPHONEvariablesinceitisalreadyavailableimplicitlyinsidethe
script
[Link]
all
variablesareexplicitlydefined.
6)[Link]'CreateScriptwithAttributeLaunchPoint:Step3of3'addthefollowingscript:
CURRENTPHONE=PRIMARYPHONE

[Link]
(AutomationScript)

[Link]

4/6

11/03/2015

ASimpleAutomationScript(AssetManagement)

[Link]
valueset
[Link]?checkboxcontrolsthelogiciftheLaunchPointisexecuted,andisset
tochecked
(active)[Link],unchecktheActive?checkboxandclickonSave.

7)YoucantestyourscriptbyeitheraddingormodifyinganexistingPrimaryPhonevalueinthePerson(People)
application.
CreateanewpersonrecordandenteraPrimaryPhonevalue.

OnceyoutaboutofthePrimaryPhoneattributeorsavetherecord,thephonenumbervaluewillbecopiedautomatically
fromthe
PrimaryPhoneattributetotheCurrentPhoneattribute.

Thisisasimpleexampleofascriptbutshowshowyoucancreateascriptusingonlyafewlinesofcodeandthatyou
don'tneedtobe
anexperiencedscriptwritertodothis.

AddaComment

MoreActions
AddaComment MoreActions

Comments(0)
PreviousEntry

Main

NextEntry

About

Feeds

Reportabuse

Faculty

Selectalanguage:

Help

Newsletters

Termsofuse

Students

English

Thirdpartynotice

BusinessPartners

Contactus

Follow

[Link]

5/6

11/03/2015
Submitcontent

ASimpleAutomationScript(AssetManagement)
Like

IBMprivacy

IBMaccessibility

Portugus(Brasil)
Espaol
Vit

[Link]

6/6

(http://plus.google.com/?rel=author) (http://linkedin.com/profile/view?id=) (http://facebook.com/) (http://www.ibm.com/devel
11/03/2015
A Simple Automation Script (Asset Management)
https://www.ibm.com/developerworks/community/blogs/a9ba1efe­b731­431
11/03/2015
A Simple Automation Script (Asset Management)
https://www.ibm.com/developerworks/community/blogs/a9ba1efe­b731­431
11/03/2015
A Simple Automation Script (Asset Management)
https://www.ibm.com/developerworks/community/blogs/a9ba1efe­b731­431
11/03/2015
A Simple Automation Script (Asset Management)
https://www.ibm.com/developerworks/community/blogs/a9ba1efe­b731­431
11/03/2015
A Simple Automation Script (Asset Management)
https://www.ibm.com/developerworks/community/blogs/a9ba1efe­b731­431

You might also like