This document walks through creating a Service Desk macro, event and activity notification to launch an ITPAM process when a request changes statuses.
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.
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.
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.
Click on the "CA ITPAM Definition" lookup and browse for the Start Request Form in ITPAM.
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.
On the Administration tab expand "Events and Macros" and "Events". Click the "Create New" button.
File out the Name, Object Type, etc. and Save. Then Edit. Then click on the Condition lookup link and click "Create New".
Select a Macro Type of "Site-defined Condition" and an Object Type of "Request/Incident/Problem".
Click the "Add Condition" button.
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.
Click "Add Condition" again.
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.
Close this window to get back to the Event.
Now click on the Action Information tab.
Click Update Actions on True.
Set Type to Execute IT PAM Action.
Add the ITPAM Macro and click ok.
Back on the Administration tab in Service Desk, click on Notifications>Activity Notifications:
Find and click on "Update Status".
Click on the Events tab and click "Update Events"
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.