In IMG, in my workflows, in the Email, there's a summary variable ${ContextObjectDesc} which looks like this:
- Add user Doe, Jane to application role USER
The summary doesn't include which application this is for. We manage about 40, and the application role names aren't always obvious. I'd like to include the application name to that summary. When I add the variable ${access_request_cri_app_name} the system puts it on a separate line:
- Add user Doe, Jane to application role USER
in ApplicationName
Also, if the request is for roles in more than one application, the information is broken up:
- Add user Doe, Jane to application role USER
- Add user Doe, Jane to application role PERSON
in ApplicationName1, ApplicationName2
Can I change the parameters in ${ContextObjectDesc} to include the application name or create a new similar variable that will retrieve all of the data and sort it how I want it? If so, how?
Take a look at: PV_CHANGE_REQUEST_DETAIL view
Each change item in a change request is presented there.
You have a CHANGE_DATA_DESCRIPTION column. Here is an example value from that column:
Add User "xyz, abc" to Global Role "SecurityContextRole"
Now that I'm looking at it, it seems that the ContextObjectDesc variable is based on the values from that column
In that view you will find a reference to application id. You will have to perform a join between that view and PV_APPLICATION view to get the application name.