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:
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?