Hi, I have a flow that is triggered by Power Apps. It has a Switch card that looks at the status of the item in Power App and subsequently does a set of actions according to this status. It works with no problem with the exception when the status in Power App is changed to be Completed. The flow fails at Get Request action card, which is just before the Switch action card. Therefore at that moment, the Power Automate flow does not "know" that the status is Completed. The error says the following: The 'inputs.parameters' of workflow operation 'Get_request' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'id' is required to be of type 'Integer/int64'. The runtime value '""' to be converted doesn't have the expected format 'Integer/int64'. Which I translate to meaning that the Power Automate is expecting the ID of the request to be an Integer but it is not. I don't understand why it picks up the Request ID as an Integer from Power App for any other status but not for when that item changes status to Complete. Example:
ID 203 is created in Power Apps with status Created.
Flow triggers, goes down the Created Switch card path.
ID 203 is updated in Power Apps with status In Flight.
Flow triggers, goes down the In Flight Switch card path.
ID 203 is updated in Power Apps with status Completed.
Flow fails with above error message.
Any ideas/ suggestions would be most appreciated. Many thanks in advance. MROD
Actually, there was nothing wrong with the Power Automate flow.
Issue was in PowerApps (not passing a value for an input parameter).
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.