Notifications
Announcements
In your Power Automate flow, the issue is likely due to how you're querying the Global Choice (Option Set) table in Dataverse. Here's how you can correctly retrieve all labels or values from your Documents global choice table and add them to your Document Numbers table.
Dataverse Global Choices (Option Sets) are not stored as separate table records, so you cannot use "List rows" like a normal table. Instead, you must retrieve the metadata of the choice field.
Use the "Invoke an HTTP request" action in Power Automate to call the Dataverse Web API:
API URL to get global choice values
https://YOUR_ENVIRONMENT_URL/api/data/v9.1/GlobalOptionSetDefinitions(Name='Documents')
If using the API isn't feasible, consider:
✅ Global Choices (Option Sets) are not stored as table records. ✅ Use Dataverse API to retrieve all labels/values from the choice field. ✅ Loop through the response and add records to the Document Numbers table. ✅ Alternative: Store choices in a separate Dataverse table for easy querying.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 525 Super User 2025 Season 2
Tomac 324 Moderator
abm abm 232 Most Valuable Professional