Hello experts,
I have one powerapps which has some GET and POST operations to API, operations handle using power automate HTTP actions.
I want to implement error handling, means if HTTP actions gives any error in that case how can i display custom error message on PowerApps screen.
For reference i have attach below image.
What is best way to do this, please suggest.
Thanks
Solved! Go to Solution.
HI @sachinsoni441 ,
You set a variable to the output of the Flow.
Set(
VariableName,
FlowName.Run( . . . .
)
)
Then test the variable for the message.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @sachinsoni441 ,
There are a number of ways of displaying a message - the easiest way is a Notification which using the Notify function.
The other is a label with its visible property to a variable you trigger when you need to see it.
Regarding the trigger for both of these, as you are expecting a response to your in a particular format you could trigger it testing this.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hello @WarrenBelz ,
Thanks for reply..
but how can i pass error to powerapps from flow.
HI @sachinsoni441 ,
You set a variable to the output of the Flow.
Set(
VariableName,
FlowName.Run( . . . .
)
)
Then test the variable for the message.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
User | Count |
---|---|
258 | |
111 | |
97 | |
48 | |
41 |