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>
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>
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>
Click on the "CA ITPAM Definition" lookup and browse for the Start Request Form in ITPAM.
<Please see attached file for image>
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>
On the Administration tab expand "Events and Macros" and "Events". Click the "Create New" button.
<Please see attached file for image>
<Please see attached file for image>
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>
Select a Macro Type of "Site-defined Condition" and an Object Type of "Request/Incident/Problem".
<Please see attached file for image>
Click the "Add Condition" button.
<Please see attached file for image>
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>
Click "Add Condition" again.
<Please see attached file for image>
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>
Close this window to get back to the Event.
<Please see attached file for image>
Now click on the Action Information tab.
Click Update Actions on True.
<Please see attached file for image>
Set Type to Execute IT PAM Action.
<Please see attached file for image>
Click Search.
<Please see attached file for image>
Add the ITPAM Macro and click ok.
<Please see attached file for image>
Back on the Administration tab in Service Desk, click on Notifications>Activity Notifications:
<Please see attached file for image>
Find and click on "Update Status".
<Please see attached file for image>
Click on the Events tab and click "Update Events"
<Please see attached file for image>
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.