Posts

Showing posts from September, 2021

Maximo | Scheduling, Generating & Posting a report to server | #Maximo #AutomationScript #Cron

Scenario : Schedule a report to be saved in the server for user access. As user does not want to run and download a report every time.   Steps to achieve : 1. Create a path in server. 2. Create a script to create a report and post. 3. Associate the created script as a parameter to the cron.   Lets roll!   1. Create a folder under F drive in the server box :   F:\REPORTS\WOREPORTS   The report file that we are about to write will fall under the folder WOREPORTS that we have created under F drive, REPORTS folder.   2. Create a script : Go To Automation script and Click on Create Script > Script. This being a cron script it would not need a launchpoint. Script = CUSREPORTGEN Description = To write a Report file Script Language = Jython   ----Sample code looks like below---- #Library from   psdi.mbo import MboConstants from   com.ibm.tivoli.maximo.report.birt.runtime import ReportParameterData from ...