Share all details about your problem, including any error messages you may have received.
I am trying to create a workflow form which lets a user view all the entitlements they own and select a new owner . This is to be triggered during a mover event. I don’t see an API to dynamically add the number of column to dispaly the entitlements the user owns. How can I display all the entitlements the user owns and also get “newOwner” as an input? TIA
In the form , create two fields in the form ,one to display the entitlements owned by the user and other one to set the new owner.
Make these fields visible and hidden based on the conditions like if the user owns any entitlement then display entitlements and display a field to get new owner. In the next step in the workflow , get the new owner input and set new owner for entitlements.
If the user is not the owner of any entitlement , then you can add a step condition to skip displaying the form step in workflow.
Workflow forms in IIQ do not support dynamically adding columns or rows at runtime, so entitlements cannot be rendered as individual UI components.
To display all entitlements owned by the user, the recommended approach is to pre-calculate the entitlements and render them in a single read-only TextArea field for visibility.
If entitlement level selection is required, a dropdown can be populated using an AllowedValuesDefinition backed by a Rule. The rule is executed when the form is rendered and must return a fully resolved list or map of the user’s owned entitlements.
Add a separate Identity field to capture the newOwner. This field can be filtered based on business requirements such as department, role, or other attributes.
I hope this helps provide clarity on the approach. Please let me know if you need any further clarification or additional details.
I already have a list of entitlement the user owns, I was aware of the drop down option but I wanted to check if a separate field for each entitlement was possible, which would have been more user friendly. I will give this a try and let you know. Thank you for your response.
I meant use a step condition to check if the user is owner of any entitlements , to display the form containing the entitlements owned by the user in workflow else skip this step and transition to next step in your mover workflow.
SailPoint does not support dynamic columns for all entitlements to set new owner
Get entitlement value and owner name for all entitlements.
Now in text area you can try using string concatenation which is an easy and user-friendly approach. for e.g.:
String showText = "";
for(String value : entitlementValues)
{
showText = "Entitlement Value = " + value + " ; Owner = " + owner + \n ;
}
return showText ; // this should be displayed in text-area
It would print something like below in text-area:
============================================
Entitlement Value = Ent_1 ; Owner = Owner_1
Entitlement Value = Ent_2 ; Owner = Owner_2
Entitlement Value = Ent_3 ; Owner = Owner_3
============================================
Please check logic as this is just to highlight the idea.
this will display the entitlements and owners but I need to figure out a way to let the user select an individual entitlement and provide a new owner for the corresponding entitlement.