My canvas app is showing a run time error from a previous run when I open it to edit.
It is showing an error for this statement:
ClearCollect(outstandingOrders,GoodsInToday.Run(WeekNo, SelectedYear, 2))
In the first place, this should not be flagged as an error. No data is NOT an error. It just means no records were found. This is a normal occurrence.
How can these spurious errors be handled / eliminated.
I do not need our users seeing big red errors for no reason.
Solved! Go to Solution.
Hi @stapes ,
Do you mean that if your flow returns blank value, the formula will show error?
If so, I suggest you try if statement to avoid this.
Try this formula:
If(!IsBlank(GoodsInToday.Run(WeekNo, SelectedYear, 2))||
!IsEmpty(GoodsInToday.Run(WeekNo, SelectedYear, 2)),
ClearCollect(outstandingOrders,GoodsInToday.Run(WeekNo, SelectedYear, 2)
)
In this way, if the flow returns nothing, the clearcollect action will not perform.
Best regards,
Hi @stapes ,
Do you mean that if your flow returns blank value, the formula will show error?
If so, I suggest you try if statement to avoid this.
Try this formula:
If(!IsBlank(GoodsInToday.Run(WeekNo, SelectedYear, 2))||
!IsEmpty(GoodsInToday.Run(WeekNo, SelectedYear, 2)),
ClearCollect(outstandingOrders,GoodsInToday.Run(WeekNo, SelectedYear, 2)
)
In this way, if the flow returns nothing, the clearcollect action will not perform.
Best regards,
Using this formula:
If(!IsBlank(GoodsInToday.Run(WeekNo, SelectedYear, 2))|| !IsEmpty(GoodsInToday.Run(WeekNo, SelectedYear, 2)), ClearCollect(outstandingOrders,GoodsInToday.Run(WeekNo, SelectedYear, 2) )
Doesn't this involve running the flow 3 times?
Twice. Once for the condition and once for either the True or the False part of the conditional stetement.
Hi,
I'm having an issue with regards to runtime errors. I have already removed this "estimateddatetofinishedrequest" but still manifesting error.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.
User | Count |
---|---|
199 | |
97 | |
56 | |
51 | |
41 |
User | Count |
---|---|
266 | |
156 | |
84 | |
81 | |
56 |