Your query seems to not be very specific. But here are few tips as to how selected values could be achieved for reference selector:
Under properties of reference selector you will find a tab Selectable objects. You can use these options inside that tab:
1. You can choose XPath and restrict the list based on the XPath contraint which you can define on your logic.
2. You can choose microflow and can devise your custom logic and return a selective list. Albeit, this is not advisable and known to cause performance issue.
3. You can use Constrained by. You can choose contraints based on the logic in the pre populated asoociation rules.
Sharad R K
if i use xPath for selected values my list dropdown values are removed? other values should not removed
i need to display all dropdwon values with selected from database or APi not any static values
In reference selector -- selected objects option calling microflow but expecting return type list.
can u provide microflow structure ?
In the data source microflow create a list of the entity that you want to return. Add anything in this list based on your logic then return the list. Simple. Hope this helps.
First you have to make the API call to retrieve the values for your dropdown. You can store them in a non-persistable entity. If needed, you can create associations with persistable entities. These values from the non persistable entity can be used for your dropdown.