Activity Association for custom objects
search cancel

Activity Association for custom objects

book

Article ID: 413615

calendar_today

Updated On:

Products

CA Service Management - Service Desk Manager CA Service Desk Manager

Issue/Introduction

Attempting to define an activity association for a custom object or an extension table, but unable to get the activity association to trigger a custom event.

Environment

Release:  17.x
CA Service Desk Manager

Cause

It is not possible to achieve this through Activity Association.  This functionality allows only attributes defined for the existing Object Type listings to be used.  The Object Type listings include entries such as Requests/Incidents/Problems, Configuration Items, Change Orders, etc.

Custom table / object attributes cannot be included directly under Activity Association.  In the case of Extension tables that are used in the CMDB functionality to define attributes that are specific to a particular CI Family, the nearest object, the nr object for Configuration Items, does not support entering an attribute from the custom table because the attribute is coming from an extension table and not the nr object itself.  You would need to be able to add the custom table to the Object Types dropdown alongside the existing objects, which is not supported.

Resolution

A way to achieve this would be to leverage the existing triggers functionality in WSP Schema Designer

Additional Information

Activity Association would be used to send a notification for a field change on a given object, such as notifying a given user when a request object's description field is modified for any reason.

Attempting to leverage the BREL version of the attribute on a supported object will also not work.  If you have defined an extension table in CMDB, call it zExtensionTable, you may see an attribute listed like this in the bop_sinfo -d listing for the Network Resource (nr) object:

>bop_sinfo -d nr

Factory nr
 Attributes:
   id                   UUID
   id                   UUID
   producer_id          LOCAL STRING(20)
   persistent_id        LOCAL STRING(60)
   last_mod             DATE
...
   assoc_zExtensionTable BREL <- zExtensionTable.id {id = ?}

Creating an Activity Association on the Configuration Item (Network Resource) with the attribute "assoc_zExtensionTable" will not work as BREL attributes are not supported.  This is similar to a scenario where you may try to Setup Email notification for Special Handling tickets.