Get Dataverse Choice field Text in Power Automate
Follow below steps to get Dataverse choice field value in power automate.
- Get Row by ID

2. The below flow will just assign the Status Choice value field as 0/1. You can see in the Run History.

3. Initialize variable then click on ellipses (3 dots) then navigate to Peek Code

4. The code will look like the below. For Status the value property is assigned as below “value”: “@{outputs(‘Get_a_row_by_ID’)?[‘body/statecode’]}”

5.Update the code syntax as below.
outputs('Get_a_row_by_ID')['body/statecode@OData.Community.Display.V1.FormattedValue']
6. Then it will look like as below:

7. Output will be as follows:

Leave a Comment