This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.
Maximo 7.5
I have a requirement to send an email communication if the work order has been changed in any way. This applies to a cloned application (Logistics Request) where users enter a request for our travel department to book travel arrangements. The logistics group needs to be notified if this record changes (i.e. travel departure date, arrival date, etc.).
I was not sure if this was possible, and if so what might be the best way to handle it in Maximo?
Work flow will do this but. they will need to click a button
Else automation script
Chris Lawless posted this a while ago its not exactly the same as what you want but you should be able to figure out how to send a simple e-mail on update of the work order
This Jython automation script contains the basics of building and sending an email from an action on an escalation as well as a rudimentary HTML table.
-------------------------------------------------------------------------------------------------------------------------------------------------------
from psdi.mbo import MboConstants;
from psdi.mbo import Mbo;
from psdi.mbo import MboSetRemote;
from java.lang import String;
actions = mbo.getMboSet("ACTIONS");
subject = ""
msgbody = ""
wfdesc = mbo.getString("DESCRIPTION")
subject = "WorkFlow Assignment : " + wfdesc
numoff = actions.count();
msgbody = msgbody = "You have a WorkFlow assignment pending as follows:<br><br>"
msgbody = msgbody + "The assignment description is : " + wfdesc + "<br><br>"
msgbody = msgbody + "The action options are: " + "<br><br>"
msgbody = msgbody + "WFASSIGNMENTID: " + mbo.getString("WFASSIGNMENTID") + "<br><br>"
for i in range(numoff):
action = actions.getMbo(i)
msgbody = msgbody + action.getString("INSTRUCTION") + "<br>"
msgbody = msgbody + "<br><hr><br>"
msgbody = msgbody + "<table border=1><tr><td>One</td><td>Two</td></tr><tr><td>One</td><td>Two</td></tr></table>"
from psdi.mbo import MboServerInterface;
mboServer = scriptHome.getMboServer();
mailer = mboServer.getMXServer();
mailer.sendEMail('liberi@...','admin@...',subject,msgbody)
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com] On Behalf Of mlevinson@ledgesoft.com
Sent: 12 February 2014 12:17
To: MAXIMO@yahoogroups.com
Subject: [MAXIMO List] Create communication if record is changed
Maximo 7.5
I have a requirement to send an email communication if the work order has been changed in any way. This applies to a cloned application (Logistics Request) where users enter a request for our travel department to book travel arrangements. The logistics group needs to be notified if this record changes (i.e. travel departure date, arrival date, etc.).
I was not sure if this was possible, and if so what might be the best way to handle it in Maximo?
GDF SUEZ E&P UK Ltd (Company Number 3386464), registered in England and Wales with a registered office address at: 40 Holborn Viaduct, London, EC1N 2PB.
**************************************************************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
**************************************************************************************************************
Thank you Ian & Chris,
I will give this a shot in my LOCAL environment so as to not break anything.
As always, appreciate the quick response.
Sounds like an escalation to me.
Larry
Larry McCown
Desk (310)813-3670
Cell (310)628-3939
Maximo https://maximo.as.northgrum.com/maximo
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com] On Behalf Of mlevinson@ledgesoft.com
Sent: Wednesday, February 12, 2014 4:17 AM
To: MAXIMO@yahoogroups.com
Subject: EXT :[MAXIMO List] Create communication if record is changed
Maximo 7.5
I have a requirement to send an email communication if the work order has been changed in any way. This applies to a cloned application (Logistics Request) where users enter a request for our travel department to book travel arrangements. The logistics group needs to be notified if this record changes (i.e. travel departure date, arrival date, etc.).
I was not sure if this was possible, and if so what might be the best way to handle it in Maximo?
I agree however he’d have to know a change has taken place and not just say a change to the description i.e. say correcting a spelling mistake otherwise it would be a spam generator
I was thinking that the best option would be an automation script which could check if the fields he wanted to send an e-mail on had changed by checking against the database value
Otherwise he would need to turn on auditing and write some sql to figure out which notify fields had changed – I’m not a fan of auditing on the workorder table
From: MAXIMO@yahoogroups.com [mailto:MAXIMO@yahoogroups.com] On Behalf Of McCown, Larry G (AS)
Sent: 12 February 2014 14:20
To: MAXIMO@yahoogroups.com
Subject: RE: EXT :[MAXIMO List] Create communication if record is changed
Sounds like an escalation to me.
Larry
Larry McCown
Desk (310)813-3670
Cell (310)628-3939
Maximo https://maximo.as.northgrum.com/maximo
From: MAXIMO@yahoogroups.com<mailto:MAXIMO@yahoogroups.com> [mailto:MAXIMO@yahoogroups.com] On Behalf Of mlevinson@ledgesoft.com<mailto:mlevinson@ledgesoft.com>
Sent: Wednesday, February 12, 2014 4:17 AM
To: MAXIMO@yahoogroups.com<mailto:MAXIMO@yahoogroups.com>
Subject: EXT :[MAXIMO List] Create communication if record is changed
Maximo 7.5
I have a requirement to send an email communication if the work order has been changed in any way. This applies to a cloned application (Logistics Request) where users enter a request for our travel department to book travel arrangements. The logistics group needs to be notified if this record changes (i.e. travel departure date, arrival date, etc.).
I was not sure if this was possible, and if so what might be the best way to handle it in Maximo?
GDF SUEZ E&P UK Ltd (Company Number 3386464), registered in England and Wales with a registered office address at: 40 Holborn Viaduct, London, EC1N 2PB.
**************************************************************************************************************
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
**************************************************************************************************************