cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MAYURIV
Helper II
Helper II

How to stop navigation to other equipments?

There is a screen in our project in which checklist is displayed. Once user enter the responses and save, it goes to the checklist of next equipment. We have also given option to naviagate to next equipment of the same screen by writing patch function in it. In this, user will not have to save the form. The requirement of client was to give notification that  last equipment checklist is reached. In On select property, we have written this code and also given pop up.

 

If(LookUp(Clc_Route_C_Equip_List,Equipment_Name = Var_Eqp_Selected_Cond,S_No) = 3,
UpdateContext({Var_Group_End_equip: true})
);

Due to this code, we are able to give pop up when last equipment is reached but it again navigates to first equipment.

we want to break this cycle.

Below is the code to navigate to next equipment which we have written at the end.


Set(Var_Eqp_Selected_Cond,Var_Eqp_Selected_Next);
ClearCollect(Clc_Check_List_1,Filter(AOA_TP_FP_Integrated_Checklist,Equipment_Name = Var_Eqp_Selected_Cond));

 

Can we bypass this code when we reach last equipment?

0 REPLIES 0

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events that are happening this month - don't miss out!

Ignite 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Power Apps Africa Challenge 2022

Power Apps Africa Challenge

Your chance to join an engaging competition of Power Platform enthusiasts.

Users online (2,726)