[SCCD] Automation Script function to check membership of security groups

I got a requirement to validate field when user are in specific security groups.

After googling, I found this entry http://www.learnsccd.com/2015/02/maximo-automation-script-validate-group.html (Thank you) . It explains how to validate group membership of current user login.

So I cut some part of code and make it as jython function for reuse next time.


s_secgroupset = “‘MAXADMIN’,”,’MAXREG'”
s_rem = “*****”

def ingroup():
mbosetMaxuser = MXServer.getMXServer().getMboSet(“MAXUSER”, mbo.getUserInfo())
mbosetMaxuser.setWhere(“userid = ‘” + user + “‘”)
mboMaxuser = mbosetMaxuser.moveFirst()

if (mboMaxuser is not None):
mbosetGroupUser = mboMaxuser.getMboSet(“GROUPUSER”)
mbosetGroupUser.setWhere(“groupname in (” + s_secgroupset + “)”)
print s_rem+”Where Clause: “+str(mbosetGroupUser.getCompleteWhere())
mboMaxGroup = mbosetGroupUser.moveFirst()

if (not mbosetGroupUser.isEmpty()):
print s_rem+”in groups”
return 1

if (mbosetGroupUser.isEmpty()):
print s_rem+”not in groups”
return 0


Read More

[SCCD] Filter Graph Option Display by attribute of Result Set

When you enable graph option for result and select display by attribute, you might confuse with many attributes as example below.


SCCD shows all attributes (query column) which are in object of result set’s query.

Read More

Read More

[SCCD] Auto Apply SLA

Most of my customer would like to auto apply SLA when they open tickets.

For this requirement, you can use Automation Script application to create Object Lunch Point and script to do it.

By configure as below

Read More

Read More

[SCCD] Enable incremental VMMsync

From Technote No.1573669

You can configure Change Polling to allow for Incremental Synchronization with VMMSYNC follow description below

To enable incremental sync you must modify the repository to set change polling to native. This is done using the wsadmin.bat and initializing it using Jython. If your system does not have Jython installed you will need to download it before continuing.
(you can find file jython.jar from the <WAS_SERVER_HOME>/optionalLibraries/jython/ directory on an application server installation then copy to the <WAS_CLIENT_HOME>/optionalLibraries/jython/ directory on your client computer.)

Read More

Read More

[SCCD] Filter classification selection by site

I got a requirement from my client which is to display classification (classstructure) align user’s site (PERSON.LOCATIONSITE)

For example, if nancy’s person site is ‘MINE’ . when nancy select classification, it will display only classstructure which set site to ‘MINE’

The solution is to use data restriction. And configure as image below.

Read More

Read More

[SCCD] Set ticket to high priority for VIP person

In some case we need to set ticket priority align person’s information.

However internal priority is calculated by  impact and urgency from priority matrix.

This example will show you how to set high priority (or urgent) when effected person is VIP person.

Read More

Read More

[SCCD] Notify User when ticket’s owner/owner group changed

วิธีการ Set ให้ทำการส่ง Email แจ้งไปยัง Owner/Owner Group เมื่อ Ticket มีการ Assign owner หรือเปลี่ยน Owner

1. ที่ Database Configuration; Object TKOWNERHISTORY คลิก check box Main Object

2. สร้าง Relationship 2 อัน
Relationship Name : OWNERPERSON
Child Object : PERSON
Where Clause : personid = :owner

Relationship Name : OWNERPERSONGROUP
Child Object : PERSONGROUP
Where Clause : persongroup = :ownergroup

3. Turn on admin mode / Apply Configuration Change

4. Turn off admin mode

Read More

Read More

[SCCD] Integrating with IBM Endpoint Manager SUA 2.x

How to configure IEM SUA and ITIC to integrate with SCCD ?

The answer is in document below. :)

Read More

Read More