Please share any images or screenshots, if relevant.
Share all details about your problem, including any error messages you may have received.
We have a use case where we would like to allow the users to select an existing list of email addresses in the provisioning form based on accounts that have been aggregated using the web service connector.
May I know if there is any existing implementation guide I can follow on how to retrieve values dynamically in a provisioning form?
for refill a field with a list of value you can assing to it a dynamicValue list.
You can use a fieldValue rule, search and create a list as you want and later assing to it, like this:
if(listEmail != null && !listEmail .isEmpty()){ //listEmail is an ArrayList
DynamicValue dynamicValue = new DynamicValue();
dynamicValue.setValue(listEmail);
fieldEmail.setAllowedValuesDefinition(dynamicValue);
}
Also, you need to add those attribute on the field:
dynamic="true"
postBack="true"
with this, the fieldValue rule will call when the form is created, but you can change the values of field in other rules of other fields too.
Do you have the application name, native Identity and object attribute which this list is stored, if thats the case you can use the OnDemand Aggregation API and populate this dynamically, check this for On-Demand Aggregation through API