Maximo 中 Automation Script 之间调用的几种方式 代码语言:javascript 代码运行次数:0 invokeScript(script_name:String,context:Map<String,String>):voidinvokeScript(script_name:String):Map<String,Object>invokeScript(script_name:String,function_name:String,function_arguments:Object[]):Object 方法一 MYLIB 库脚...
在Automation Script 中我们通常使用 mbo 对象来操作数据,但有时候当数据量较大时,使用 mbo 对象来操作数据会比较慢。这时候,我们可以使用 JDBC 的方式来直接访问数据库,从而提高操作数据的效率。 下面看看使用 JavaScript 脚本怎么实现在 Automation Script 中访问数据库: 首先需要倒入必要的包 代码语言:javascript 代...
2024-04-23 Object Structure Must-Gather Collecting data for Object Structures 2024-04-19 Collecting Data: Maximo Automation Scripting Collecting data for automation scripting problems with Maximo. Gathering this information before calling IBM support will help you with the troubleshooting process and save...
integrationobjects)usingHTTPorSOAP.Usingobjectstructureservices requiresminimalconfigurationbecausequeuesandexternalsystemassociation arenotrequired.Standardservicesareapplicationservicemethodsthatare annotatedandcallableusingHTTPorSOAP.MethodssuchasChangeStatus areannotatedinapplicationsservicestoprovidetheabilitytoinvokethese fine...
in fact you may invoke an automation script from any place of your business logic. In this article I’ll show you how to use a single automation script to generate assignments for all task nodes within a workflow process. This approach has the following advantages: You need only one custom...
Maximo 中 Automation Script 之间调用可以通过下面几种方式实现 invokeScript(script_name: String, context: Map<String, String>): void invokeScript(script_name: String): Map<String, Object> invokeScript(script_name: String, function_name: String, function_arguments: Object[]): Object ...
上面Automation Script库中定义了一个 User 对象,以及一个模块 module,其中 module.exports 对象中导出了 User 对象。 下面是 MYLIB 库的测试代码 MYTEST,代码首先调用 MYLIB 库,然后调用 MYLIB 库中导出的对象。 var mylib = service.invokeScript('MYLIB'); var user = new mylib.User('kongxx', 'nopa...
You associate an automation script with an integration component, and you configure when to insert it into integration processing. Customization of object structure processing with automation scripts Object structure processing supports the simultaneous use of automation scripts and Java classes for ...
Python脚本的方式使用 Maximo RESTAPI创建Object Structure。 创建object structure 这里创建一个新的 Work Order Object Structure,命名为 MXAPIWO123。 代码语言:javascript 代码运行次数:0 AI代码解释 importrequests url="<maximo url>/api/os/mxintobject"querystring={"apikey":"<api key>","lean":"1"}payl...
(zm,S#}g,L_ITEM G ITEM TsD(zm# 9C MAXATTRIBUTE m47(D)mMP'V`VoTrtCK`VoT#`Vo T'Vj> (MLSUPPORTED=1) 8>PPD5GqT`VoTf"#Kj>*;Aj >,;\d|# QtC`VoTDj> (MLINUSE=1) 8>GqtCP4T`VoTf"5# *i4*`VoTtCDmMP,kCJa9/i/oT (SQL) `-w"dk select objectname,attributename from max...