The web blog http://www.learnsccd.com strives to be a comprehensive guide to SCCD, TADDM, SERVICE NOW and MAXIMO tools. This is a personal site maintained solely by me. I intend to update it regularly.For live updates please follow us on.

Solution Published Notification

Solution Published Notification

Create Object Launch Point on Solution Object with below Object Event Condition and Script.

Update:1
Object Event Condition: status='ACTIVE' and :$old_status <> :status

Automation Script:

from psdi.mbo import SqlFormat

print "SOLPUBNOTIFY - BEGIN"

#print "Send Email Notification"
sqlf = SqlFormat("templateid='SOLPUBL' and objectname='SOLUTION' and status='ACTIVE'")
commTemplateSet = mbo.getMboSet("$commtemplate", "COMMTEMPLATE", sqlf.format())
commTemplateMbo = commTemplateSet.getMbo(0)

if commTemplateMbo is not None:
    commLogMbo = mbo.createComm()
    commLogMbo.copyFromTemplate(commTemplateMbo)
    commLogMbo.sendMessage()

#print "End Send Notification"

print "SOLPUBNOTIFY – END"