While calling a interface in another interface, I encountered the error message "All selected values must be present in the choiceValues array". I used same constant in both choice label and choice values i.e. cons!
Below are the supporting documents. Kindly help
Discussion posts and replies are publicly visible
It sounds like you're encountering a mismatch between the selected value and the choiceValues in your dropdown or radio button field. Here's how to resolve it:
choiceValues
Create a New Constant for IDs:
employee type
1, 2, 3, 4
choiceLabels
Use dropdownFieldByIndex() (if IDs are sequential):
dropdownFieldByIndex()
Ideal Long-Term Solution:
isActive
QueryEntity
This should resolve the error and provide a more flexible solution for future change