Modify Approval Request Display Name to be more indicative of request
Does anyone know how to Modify an Approval Requests Display Name to be more indicative of request? Currently, we have an account creation workflow implemented that sends a notification to a manager for approval. When the manager (non technical person)
opens his Requests & Approvals all they see is Update to person : 'Smith, John' Request. Is there any way to make that Display Name say something like :
Approve creation of user account 'Smith, John' Request?
Thanks in advance...
August 21st, 2015 4:12pm
If this is a request to approve the creation of a user, the object is not created yet, therefore no displayName. You cannot have displayName if you don't have a
August 24th, 2015 9:26am
Sorry I failed to mention above. In this case, there is an object created in FIM portal with a PowerShell Workflow prior to Approval Request and notification being sent.
August 24th, 2015 10:01am
This does not make sense. If the object is created, what is the approval for? Plus the powerShell, I am sure is not related to the approval process, so same deal, no displayName is available on that workflow. A resource can only be create
August 24th, 2015 10:07am
The created object is a custom Resource Type (adminPersonType). The adminPersonType object gets created in the RCDC that places them into a transition in SET which then triggers my notifications and multi-level approval Workflows to start.
Once all the proper workflows are completed the result is a person object created by the last workflow (PowerShell workflow). If there is no DisplayName, how does the default request state
Update to person : 'Smith, John' Request? How does it know Smith, John?
August 24th, 2015 10:15am
1. RCDC does not create objects. But it is irrelevant what triggers it.
2. The notification contains the Workflow data, not the object that does not exist. So John and Smith are obtained from the workflow data using information you provided during creation.
2. What attributes are you populating. If DisplayName is one of them, I guess you can use it. This information is on the Email Template used by the WF in question. Find the email being sent, and change the subject and body to use the displayName
instead. It is pretty easy, html format.
August 24th, 2015 10:36am
Thanks... I get all the points you mention above. I am obviously not explaining this properly.
August 24th, 2015 10:40am
I think I got it. What you need is to change the email that gets sent for approval.
Look at the Creation WF, find the email that is sent for approval. Change the subject and its body. These are the only things you need to modify.
August 24th, 2015 10:42am
I just found this as well and this is exactly what I am trying to do...
See this https://social.technet.microsoft.com/Forums/en-US/f48e9ebb-c7c3-4a83-ad76-22d21bb5ed17/update-display-name-of-approvalrequest-to-something-sensible?forum=ilm2
August 24th, 2015 10:42am