首先在 Maximo 的 Automation Scripts 应用中创建一个自动化脚本,内容如下: Script: countofwoandsr Script Language: javascript Allow Invoking Script Functions: true load("nashorn:mozilla_compat.js");importPackage(Packages.psdi.server);varresp={};varsite=request.getQueryParam("site");varwoset=MXServer...
创建Automation Scripts 首先在 Maximo 的 Automation Scripts 应用中创建一个自动化脚本,内容如下: Script: countofwoandsr Script Language: javascript Allow Invoking Script Functions: true 代码语言:javascript 复制 load("nashorn:mozilla_compat.js");importPackage(Packages.psdi.server);varresp={};varsite=req...
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 方法一 MYLIB 库...
这里创建两个 Automation Script,第一个使用 Automation Script 查询数据库获取 workorder 列表,同时使用两个参数pageNum和pageSize来实现翻页,第二个 Automation Script 通过 service.invokeScript 调用第一个 Automation Script。 第一个Automation Script Automation Script 代码如下(这里把脚本命名为 GETWOS): 代码语言:...
installationofMaximobaseservices(Tivoli’sprocessautomationengine),which arethecommonfacilitiesusedbythisandotherMaximoapplications.The ProcessSolutionPackageenablestheapplication-specific(inthiscase,Maximo AssetManagement)functionsontopofthebaseservices. PreparetheTopology TopologyPlan Pre-InstallationChecklist Middleware...
Here are some of the quick reference guide for every maximo developer. Before we begin with some example, you must be aware of automation script implicit variables. Please refer tothis postfor detailed explanation of the implicit variables.
the process for collecting data for problems with the IBM Maximo Application Suite installation procedure.There are two primary recommended methods for manually installing Maximo Application Suite.MAS Devops Ansible Collection: Utilizing the MAS installation playbooks and roles with ansible automation. Ansib...
The configuration tool's jre was updated with files that had not been manipulated with Filezilla, and the Tivoli's Process Automation Engine and configTool IM repositories were rebuilt. 7.6.1.1 IJ12502 Database Changes: V7611_140.dbc was added. A new property, mxe.app.receiving.preventService...
第一个Automation Script Automation Script 代码如下(这里把脚本命名为 GETWOS): load('nashorn:mozilla_compat.js');importPackage(Packages.psdi.server);importPackage(Packages.psdi.security);importPackage(Packages.java.sql);// var pageNum = request.getQueryParam('pageNum');// var pageSize = request...
上面Automation Script库中定义了一个 User 对象,以及一个模块 module,其中 module.exports 对象中导出了 User 对象。 下面是 MYLIB 库的测试代码 MYTEST,代码首先调用 MYLIB 库,然后调用 MYLIB 库中导出的对象。 varmylib=service.invokeScript('MYLIB');varuser=newmylib.User('kongxx','nopassword');var...