tag:blogger.com,1999:blog-2002636098451095610.post8534540258065150938..comments2023-12-22T11:14:03.004+01:00Comments on IBM Maximo Customization and Development: Maximo 7.5 scripting guideBrunohttp://www.blogger.com/profile/13748160755424198810noreply@blogger.comBlogger23125tag:blogger.com,1999:blog-2002636098451095610.post-43056445088925653102017-07-05T17:43:15.109+02:002017-07-05T17:43:15.109+02:00Hi Bruno, I have some security issues on browsers ...Hi Bruno, I have some security issues on browsers trying to enter into your shared copy. How can I get it?<br /><br />ThanksPabloChttps://www.blogger.com/profile/02310553601132575299noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-50742381428197991422017-06-05T19:39:53.936+02:002017-06-05T19:39:53.936+02:00The engines that are supported in an
OOTB Maximo 7...The engines that are supported in an<br />OOTB Maximo 75 are<br />1. Mozilla Rhino (JavaScript) which ships with the IBM/Oracle(Sun) JDK<br />2. Jython which is included as part of MaximoAnonymoushttps://www.blogger.com/profile/00865625788058122450noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-62905921620924841702017-02-25T09:38:32.552+01:002017-02-25T09:38:32.552+01:00Hi Hitesh:u can use flag mbo.toBeDeleted()Hi Hitesh:u can use flag mbo.toBeDeleted()Chetanhttps://www.blogger.com/profile/12954263766331988500noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-64012869813194183372016-12-27T08:26:51.822+01:002016-12-27T08:26:51.822+01:00Hi Bruno,
I am new to Maximo and Automation Scri...Hi Bruno, <br /><br />I am new to Maximo and Automation Scripting. Request your help in this doubt:<br /><br />If we have suppose 5 record in MultiLocci table and on WO UI also and if a user deletes one record from the UI, then if we want to perform some action on that deletion, how can we know in Scripting that on this particular record, deletion has been performed. <br /><br />Is there any kind of flag or something to identify that record ?<br /><br />Thanks in advance. :)HITESH SHARMAhttps://www.blogger.com/profile/06853509063070723128noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-84799086732221628072016-01-29T04:56:23.294+01:002016-01-29T04:56:23.294+01:00Hi Sir,
I'm new in maximo development and I w...Hi Sir,<br /><br />I'm new in maximo development and I wonder if it is possible to execute a JavaScript code inside automation script? for example I want to get the value of an element and display it on a dialog box. Is it possible or not? Thanks!Anonymoushttps://www.blogger.com/profile/05419989984792741777noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-8528864015482597522016-01-29T04:55:40.574+01:002016-01-29T04:55:40.574+01:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/05419989984792741777noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-68333394563680430362015-01-30T14:01:02.673+01:002015-01-30T14:01:02.673+01:00Hi
How can i mention security group name(CRM) in ...Hi<br /><br />How can i mention security group name(CRM) in jython script?<br />Example: If user click the check box and save the records after save this check box should be read only except CRM user,<br />CRM group users can able to modify the check box after save the records also ...but other user not able to modify after save the records of checkbox<br /><br />Guide me how can i do in jython script? Anonymoushttps://www.blogger.com/profile/02765084969065838211noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-38580388643308918472015-01-30T13:41:57.283+01:002015-01-30T13:41:57.283+01:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/02765084969065838211noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-31480193262620423662014-07-04T18:02:24.767+02:002014-07-04T18:02:24.767+02:00Hi bruno,
I find your blog really interesting an...Hi bruno, <br /><br />I find your blog really interesting and useful on all this MAXIMO subjects.<br /><br />Question: Can we use scrpting to check if the workorder priority is changed by a user b the time the workorder is saved ? <br /><br />In advance, thanks a lotAnonymoushttps://www.blogger.com/profile/02047312101271634522noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-65833329877876165302014-05-23T11:53:41.685+02:002014-05-23T11:53:41.685+02:00Hi,
Is it possible to launch a script when a recor...Hi,<br />Is it possible to launch a script when a record is created via MIF?<br />for example when creating ticket through an MIF web service.Anonymoushttps://www.blogger.com/profile/12182523954440501342noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-67114852516499140772014-02-05T07:45:55.990+01:002014-02-05T07:45:55.990+01:00Hi Everyone
I'm trying to use automation scrip...Hi Everyone<br />I'm trying to use automation script on my custom object ( custom app ), but its look like the script doesn't executed in any launch point :(<br />is there anyone has been try this? I need enlightenment :(<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-34167899876936435182013-09-13T04:58:22.626+02:002013-09-13T04:58:22.626+02:00Unfortunately most examples in the doc. are in Jyt...Unfortunately most examples in the doc. are in Jython (why do IBM selected Jython, instead of Rhino [i.e. JavaScript] is beyond me).<br /><br />I do prefer to work in Rhino and have done so in most of my scripts, but had to investigate even simple things like "importing" packages in order to use standard MBOs/POJOs/EJBs in the scripts.jcxperhttps://www.blogger.com/profile/15210470363401627229noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-25736910317054584942013-08-19T09:42:34.656+02:002013-08-19T09:42:34.656+02:00Thanks Bruno,
- ViKasThanks Bruno,<br />- ViKasVikas Jainhttps://www.blogger.com/profile/11876082409110913911noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-61639232633202901052013-08-14T09:31:07.321+02:002013-08-14T09:31:07.321+02:00Please use Maximo forum on developerWorks to ask f...Please use <a href="http://www.ibm.com/developerworks/forums/forum.jspa?forumID=1119" rel="nofollow">Maximo forum on developerWorks</a> to ask for help.<br />Regards<br />Brunohttps://www.blogger.com/profile/13748160755424198810noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-24085148551029062922013-08-13T20:26:02.263+02:002013-08-13T20:26:02.263+02:00Bruno -- what is the best way to compare (in Autom...Bruno -- what is the best way to compare (in Automation Scripts) the date entered in a field with the current date (Ie; Asset.datefield (DATE) not datetime -- compared with System Date -- <br />In oracle I would do something like where trunc(date) = trunc(sysdate) -- I have looked but have not found anything that looks like it will work for this situation... <br /><br />Thanks,Marjyhttps://www.blogger.com/profile/03919772405991616637noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-43801495103615950632013-06-12T02:53:39.625+02:002013-06-12T02:53:39.625+02:00Dear Bruno,
Thank you very much for sharing the d...Dear Bruno,<br /><br />Thank you very much for sharing the document on "Automation Scripts" with Maximo 7.5rahulmhttps://www.blogger.com/profile/15904148961374439420noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-43505760616720421002013-05-28T21:59:49.146+02:002013-05-28T21:59:49.146+02:00Here's how I used a script to disable a toolba...Here's how I used a script to disable a toolbar icon in the SR application when a new SR is being entered and hasn't been saved yet...<br /><br />Create a script with a custom condition launch point. I named mine NOTTOBEADDED. I defined no variable bindings. I used the Jython script "evalresult = not onadd". I created a launch point named TKTNOTADD, and associated it with the TICKET object.<br /><br />Create a new condition expression. A message shown during the automation script creation says that the expression must have exactly the same name as the script. I don't know if this is true. I've never tried creating an expression with a name that differs from its script. Set the expression type to CLASS. Set the class name to com.ibm.tivoli.maximo.script.ScriptCustomCondition. Set the expression field to name_of_your_script:name_of_your_launch_point. So in my case this was "NOTTOBEADDED:TKTNOTADD".<br /><br />Add your condition to the grant of the toolbar icon's sig option in a security group. Or use the condition in a field's properties in the App Designer. Either way your script will be evaluated any time the condition expression is evaluated, and the value you assign to the evalresult variable will be the result of the conditional expression.Brian Davishttps://www.blogger.com/profile/04874036289802521996noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-30568579650306386152013-04-16T22:59:21.283+02:002013-04-16T22:59:21.283+02:00The original doc is hosted on developerWorks websi...The original doc is hosted on developerWorks website that is under maitenance.<br />I have shared my copy <a href="https://docs.google.com/uc?export=download&id=0B6PxDhwK5tSJTnQ3SHhUTldKdVE" rel="nofollow">here</a>.Brunohttps://www.blogger.com/profile/13748160755424198810noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-67869590029047717762013-04-16T21:14:05.605+02:002013-04-16T21:14:05.605+02:00IBM support got me the doc (got to love them ! ) b...IBM support got me the doc (got to love them ! ) but not sure if the PDF is available to the public so I will let Bruno republish the link. berlebutchhttps://www.blogger.com/profile/00454404098795744939noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-7436416201877371932013-04-16T20:16:10.913+02:002013-04-16T20:16:10.913+02:00Looks like IBM moved/pulled the scripting doc (bro...Looks like IBM moved/pulled the scripting doc (broken link) any idea where else I can find it. berlebutchhttps://www.blogger.com/profile/00454404098795744939noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-4893869713031948482013-03-25T10:44:55.865+01:002013-03-25T10:44:55.865+01:00Hi,
How can I define conditional Scripts instead ...Hi,<br /><br />How can I define conditional Scripts instead of expressions, which needs to be used in Conditional UI.<br /><br />Thanks in AdvanceAnonymoushttps://www.blogger.com/profile/03792497619174437476noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-61327028619796352682012-05-09T15:48:12.826+02:002012-05-09T15:48:12.826+02:00Sorry I don't have any suggestion.Sorry I don't have any suggestion.Brunohttps://www.blogger.com/profile/13748160755424198810noreply@blogger.comtag:blogger.com,1999:blog-2002636098451095610.post-10818391422613181642012-05-08T01:48:08.738+02:002012-05-08T01:48:08.738+02:00Do you know of additional resources which include ...Do you know of additional resources which include complete or good list of methods that can be used in these Jython or Javascript scripts corresponding to the JAVA methods? <br /><br />It is hard for me to find a good reference for Jython or Javascript methods for Maximo.Anonymousnoreply@blogger.com