cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
eauerbach
Helper III
Helper III

Unable to set a Choice Value in Dataverse Connector

We've had a flow running for several months without issue where upon winning an opportunity in CRM, we create another entity based on its values. Within the last week, the flow began to fail while trying to add the new entity with the following error: 

The 'inputs.parameters' of workflow operation 'Add_Agreement' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/e8s_agreementtype' is required to be of type 'Integer/int32'. The runtime value '7134000000' to be converted doesn't have the expected format 'Integer/int32'.

 

This is the failing line, which had been working previously:

eauerbach_0-1632242901845.png

Agreement Type is a choice field and the variable is an integer. We've ensured the variable is an integer and have even wrapped it in int() without success. 

 

Any ideas as to why this would have begun failing and how to work around it? 

1 ACCEPTED SOLUTION

Accepted Solutions
eauerbach
Helper III
Helper III

Closing my own ticket. Seems we didn't have the integer set properly, so the error was really that the value wasn't found in the option set. Updated the value and the flow works again.

View solution in original post

1 REPLY 1
eauerbach
Helper III
Helper III

Closing my own ticket. Seems we didn't have the integer set properly, so the error was really that the value wasn't found in the option set. Updated the value and the flow works again.

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,044)