Maximo List Archive

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.



Sending communication using automation based on record status

From: emptybinkid (2014-09-11 08:30)


Goal: to send notification to workorder owners when any 'Deliverable' workorder status is changed to INPRG using automation script.

I have created an automation script with an attribute launch point using the following
Source Code:
if (STATUS=='INPRG') and (LR_RECTYPE=='DEL'):
whereclause = "TEMPLATEID ='SCDPPMTECH'"

ctMboSet = mbo.getMboSet("$commtemp","COMMTEMPLATE",whereclause);
ctMboSet.setQbeExactMatch("true")
ctMboSet.reset()
ctMbo = ctMboSet.getMbo(0)
if(ctMbo is not None):
ctMbo.sendMessage(mbo,mbo);

Launch Point Variables
Variable: STATUS
Binding Value: STATUS
Variable Type: IN
Binding Type: Attribute

I have also created a communication template with the ID of 'SCDPPMTECH'

What am I missing?
Thanks All