Please share any other relevant files that may be required (for example, logs).
[Please insert files here, otherwise delete this section]
Share all details about your problem, including any error messages you may have received.
Hello community! We have enabled the possibility of editing some attributes for a set of users… the issue is that now when the attribute to be changed is going for approval, the approval item displays the technical name and the Display name as well. Is there any way to only show the display name? Also how to change the workitem title ?
Please provide a bit more detail about the issue. Where exactly do you want the display name to appear, and what is currently being shown instead? if possible share snap shot of code.
Hi @gabs - That is generated by the Identity Request Approve Identity Changes workflow. You might be able to change the workitem title there and see if you can update the approval item.
Hi @gabs - you can do this either by customizing the OOTB LCM workflows (would recommend cloning them when making modifications) or using a custom plugin to modify the UI on this page.
I would recommend going the custom plugin route here if you wanted this for a specific use case (i.e. only terminate date changes) or your organization has a strong desire against customizing the OOTB LCM workflows.
Without going the plugin route, you’d need to modify the Identity Request Approve Identity Changes workflow. I’ve detailed both changes below:
Change Work Item Description
You can change the description attribute in the Approval step like so:
<!-- default description -->
<Arg name="workItemDescription" value="Account Changes for User: $(identityDisplayName)"/>
<!-- your custom description - maybe something more specific -->
<Arg name="workItemDescription" value="Review Termination Date for User: $(identityDisplayName)"/>
Showing Only Display Name on Approval Form
For the attribute display, there is not an easy OOTB switch that simply says “show only attribute display names”. Since the form is being built from the provisioning plan, the standard generated output often includes both the technical attribute name and the display name. If you want to hide the technical name, you have two options:
Modify the generated approvalForm in the Customize Approval Form step.
Replace the generated approval UI with a custom workflow form if you want full control over the layout, labels, etc.
Hope this helps!
This post was answered by a Palyrian Solutions Architect. Feel free to message me directly if your problem requires a deeper dive. palyrian.com | (301) 284-8124
Unfortunately here is where I get a little puzzled because approvalItem.getDisplayValue() returns “DisplayValue” for me in a rule, but seem to return “DisplayValue (Value)” when called from the directive.
@gabs What workflow are you using? I tried updating the identity attribute, it launched Identity Update workflow and workitem view is different(attached here).