Using a Service Desk Macro to launch an ITPAM process.
search cancel

Using a Service Desk Macro to launch an ITPAM process.

book

Article ID: 50777

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 - Service Desk Manager CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Process Automation Base

Issue/Introduction

Description:

This document walks through creating a Service Desk macro, event and activity notification to launch an ITPAM process when a request changes statuses.

Solution:

In ITPAM, create a Process and Start Request Form that launches that process.

Right click on the Start Request Form and select the Keywords tab. Add macro as a keyword.

<Please see attached file for image>

Figure 1

For this example, we will need to have a Request Category of "ITPAM" and a Request Status of "Request to Close" in Service Desk. This doc assumes this has already been done.

In Service Desk, go to the Administration tab and expand "Events and Macros" and then "Macros". Click the "Create New" button.

<Please see attached file for image>

Figure 2

Select "Execute CA IT PAM Action" for the Macro Type and "Request/Incident/Problem" for the Object Type. Give it a Symbol of your choice.

<Please see attached file for image>

Figure 3

Click on the "CA ITPAM Definition" lookup and browse for the Start Request Form in ITPAM.

<Please see attached file for image>

Figure 4

If this screen is blank, make sure you added the macro keyword to the Start Request Form in ITPAM. Also make sure the Options Manager settings in Service Desk are correct for ITPAM including ITPAM URL and ITPAM username/password. Save.

<Please see attached file for image>

Figure 5

On the Administration tab expand "Events and Macros" and "Events". Click the "Create New" button.

<Please see attached file for image>

Figure 6

<Please see attached file for image>

Figure 7

File out the Name, Object Type, etc. and Save. Then Edit. Then click on the Condition lookup link and click "Create New".

<Please see attached file for image>

Figure 8

Select a Macro Type of "Site-defined Condition" and an Object Type of "Request/Incident/Problem".

<Please see attached file for image>

Figure 9

Click the "Add Condition" button.

<Please see attached file for image>

Figure 10

Browse for "Select an Attribute" and select Object Type of "category" for Request/Incident/Problems.

Change "Select Attribute or Data Value" to "Data Value". Type in ITPAM for the category Data Value. Save.

<Please see attached file for image>

Figure 11

Click "Add Condition" again.

<Please see attached file for image>

Figure 12

Browse for "Select an Attribute" and select Object Type of "status" for Request/Incident/Problems.

Change "Select Attribute or Data Value" to "Data Value". Type in "Request to Close" for the status Data Value. Save.

<Please see attached file for image>

Figure 13

Close this window to get back to the Event.

<Please see attached file for image>

Figure 14

Now click on the Action Information tab.

Click Update Actions on True.

<Please see attached file for image>

Figure 15

Set Type to Execute IT PAM Action.

<Please see attached file for image>

Figure 16

Click Search.

<Please see attached file for image>

Figure 17

Add the ITPAM Macro and click ok.

<Please see attached file for image>

Figure 18

Back on the Administration tab in Service Desk, click on Notifications>Activity Notifications:

<Please see attached file for image>

Figure 19

Find and click on "Update Status".

<Please see attached file for image>

Figure 20

Click on the Events tab and click "Update Events"

<Please see attached file for image>

Figure 21

Add the Launch ITPAM Process Event and click OK.

Now, to test this out, open a request with a category type of ITPAM. Save. Then edit and change the status to "Request to Close". The ITPAM process will then be launched.

Environment

Release:
Component: ITPAM

Attachments

1558698504815000050777_sktwi1f5rjvs16ob7.gif get_app
1558698503003000050777_sktwi1f5rjvs16ob6.gif get_app
1558698501191000050777_sktwi1f5rjvs16ob5.gif get_app
1558698499456000050777_sktwi1f5rjvs16ob4.gif get_app
1558698497568000050777_sktwi1f5rjvs16ob3.gif get_app
1558698495729000050777_sktwi1f5rjvs16ob2.gif get_app
1558698493956000050777_sktwi1f5rjvs16ob1.gif get_app
1558698491313000050777_sktwi1f5rjvs16ob0.gif get_app
1558698489236000050777_sktwi1f5rjvs16oaz.gif get_app
1558698487162000050777_sktwi1f5rjvs16oay.gif get_app
1558698485467000050777_sktwi1f5rjvs16oax.gif get_app
1558698483670000050777_sktwi1f5rjvs16oaw.gif get_app
1558698481864000050777_sktwi1f5rjvs16oav.gif get_app
1558698480163000050777_sktwi1f5rjvs16oau.gif get_app
1558698478338000050777_sktwi1f5rjvs16oat.gif get_app
1558698476501000050777_sktwi1f5rjvs16oas.gif get_app
1558698474512000050777_sktwi1f5rjvs16oar.gif get_app
1558698472816000050777_sktwi1f5rjvs16oaq.gif get_app
1558698470917000050777_sktwi1f5rjvs16oap.gif get_app
1558698469216000050777_sktwi1f5rjvs16oao.gif get_app
1558698467035000050777_sktwi1f5rjvs16oan.gif get_app