cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
RemiChambard2
Advocate IV
Advocate IV

[BUG] Error raised when querying dynamic values in the DefaultValue part of the IfError function

Hello,

 

I've found a very strange bug with the IfError function. To make it easy to explain and understand, you can test it with the following formula in the OnSelect event of a Button :

 

 

ForAll(
    Sequence(
        1,
        1
    ),
    IfError(
        1 / 1,
        Notify(
            ThisRecord.Value;
            Error,
            1000
        ),
        Notify(
            ThisRecord.Value,
            Information,
            1000
        )
    )
)

 

 

It should display a notification with the text "1". Whereas, it displays the following error message "An error has occured".

 

More generaly, it seems that the DefaultValue of the IfError function can't access the value from a ForAll expression or a With expressions. Have had issues for both of them.

 

Did you have that same issues ?

 

Thanks

 

0 REPLIES 0

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Kudoed Authors
Users online (5,482)