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.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

Users online (2,253)