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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

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.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,557)