Multiple/duplicate events may be triggered when updating a Change Order ticket's status field
search cancel

Multiple/duplicate events may be triggered when updating a Change Order ticket's status field

book

Article ID: 20316

calendar_today

Updated On:

Products

CA IT Asset Manager CA Software Asset Manager (CA SAM) ASSET PORTFOLIO MGMT- SERVER SUPPORT AUTOMATION- SERVER CA Service Desk Manager - Unified Self Service CA Service Desk Manager CA Service Management - Asset Portfolio Management CA Service Management - Service Desk Manager

Issue/Introduction

Description:

When configuring a site defined condition to trigger events when a ticket status changes, multiple/duplicate events may be triggered.

For each Activity Association, there is an Activity Type which would trigger an event. For this example, we will use a notification event.

The Activity Type is 'UPDATE STATUS' for both the Change Order and Workflow Task objects. When the status of the Change Order is changed, both notifications are triggered. As a result, both attach similar events to the Change Order ticket.

The two 'UPDATE STATUS' notifications are:

  1. Workflow Task Update Status
  2. Change Order Update Status

Solution:

By default, the Activity Association for 'Workflow Task Status' is set to the 'UPDATE STATUS' Activity Type. This will result in multiple/duplicate events being triggered when the Change Order (or any other ticket type with attached Workflow Tasks) ticket status is changed.

The resolution is to change the 'Workflow Task Update Status' Notification Association to 'FIELD UPDATE'. This will not trigger any Notification Events since the event now does not satisfy the site defined condition that checks for the 'UPDATE STATUS' event to send a notification event. Since the Activity Type is still set to 'UPDATE STATUS' for the 'Change Order Update Status' object, the notification event will still work for the Change Order status change and the appropriate events triggered.

  1. Login to CA Service Desk Manager with Administrator access.

  2. Go to ADMINISTRATION -> NOTIFICATIONS -> ACTIVITY ASSOCIATIONS. Click on SHOW FILTER and filter the Activity Associations based Workflow Task Object Type as shown in Figure 1 below:

    Figure 1

    <Please see attached file for image>

    Figure 1

  3. Right-click on the STATUS Activity Association and click on EDIT.

  4. Update ACTIVITY TYPE to FIELD UPDATE from the default setting of UPDATE STATUS as shown in Figure 2.

    Figure 2

    <Please see attached file for image>

    Figure 2

  5. Click SAVE

Environment

Release: UAPMAC990JPP-12.6-Asset Portfolio Management-Asset Configuration
Component:

Attachments

1558695467414000020316_sktwi1f5rjvs16n0e.gif get_app
1558695465394000020316_sktwi1f5rjvs16n0d.gif get_app