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

"Suspend" Behavior of a Mobile PowerApp

Say I am in my observation recording PowerApp (MyApp) on an iPhone and I have entered some data on a screen, then I suspend the phone to go do something else.

 

What is the "resume" behavior? Is the powerapp brought up exactly at the screen where it was left? Or must the user re-launch the PowerApp application and then re-select the MyApp from the list. In this case, I am assuming all state is lost?

 

There may be a long period of time between recording an observation. Does this influence the "type" of app I must create to ensure state is preserved? (i,e,: update sharepoint list using an appropriate "master / details" layout vs: the employee engagement survey type app where data is persisted once last question is entered).

 

I'd appreicate some guidance!

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Re: "Suspend" Behavior of a Mobile PowerApp

Hi @flyte,

 

Please check the reply from @davidni in the following thread:

https://powerusers.microsoft.com/t5/PowerApps-Forum/Powerapp-timeout/td-p/15194

Quote:

"

I'm sorry you went through this and ended up losing some work. Are you using the web version of PowerApps (create.powerapps.com)? If so, we currently have a limit on session duration of about 2 hours which you might be hitting. As you approach the limit, you will see a message dialog informing you that the session is about to expire and that you should save your work. When a session expires, you could lose changes that you made to the app (e.g. adding a screen, changing controls, formulas, etc), but this has no impact on data stored in your app's connections. For example, if your app saves an entry into a Sharepoint list, the entry will be preserved even if the PowerApps session times out.

 

We are looking into lifting the session duration limit, but for now the recommendation is that you save your app often and start a new session if you need more time. I hope this helps, and we encourage you to go to https://powerapps.uservoice.com/ if you have suggestions on how to make this better. It will help us prioritize the features we work on.

David Nissimoff [MSFT] ** PowerApps Staff

"

For testing, if I leave PowerApps App open where it is with IOS device, left to work with the other stuffs, then come back again, the App would stay where it was left. This is also the same with the PowerApps studio from Windows Store.

Another thing that might affect this should be the domain policy.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
TschoofBAH Advocate III
Advocate III

Re: "Suspend" Behavior of a Mobile PowerApp

Afaik, from my testing (mind you I am on android), I am able to open an add page for my app, start entering data, "suspend" the app to do other things, and comeback to where I left off. But...I know with android taht after a set amount of time (or set amount of apps being opened) that the capability to go back like that diminishes. Traditionally android apps have code to handle that situation, but for powerapps I am not fully sure. I will say for certain there is no capability that I have seem where you could say restart the phone completely and come back to where you were, but that behaivior is common amongst most phone apps...though I could think of some creative (albeit difficult and complex) ways you could mimic that ability.

 

But....from what you said your main issue is the time in between recordings and the possibility of the app closing on you during the extended time. For that you could make sure to save as you go, and have a conveinient way to edit the last item you were looking at, rather than trying to capture the complete addition of the record in one go.

 

If you wanted to do that, you could use an excel file as a data item to track the last added item, and use that data to "automatically" put you back there when you view the list again....defnitely a lot of possibilities.

Community Support
Community Support

Re: "Suspend" Behavior of a Mobile PowerApp

Hi @flyte,

 

Please check the reply from @davidni in the following thread:

https://powerusers.microsoft.com/t5/PowerApps-Forum/Powerapp-timeout/td-p/15194

Quote:

"

I'm sorry you went through this and ended up losing some work. Are you using the web version of PowerApps (create.powerapps.com)? If so, we currently have a limit on session duration of about 2 hours which you might be hitting. As you approach the limit, you will see a message dialog informing you that the session is about to expire and that you should save your work. When a session expires, you could lose changes that you made to the app (e.g. adding a screen, changing controls, formulas, etc), but this has no impact on data stored in your app's connections. For example, if your app saves an entry into a Sharepoint list, the entry will be preserved even if the PowerApps session times out.

 

We are looking into lifting the session duration limit, but for now the recommendation is that you save your app often and start a new session if you need more time. I hope this helps, and we encourage you to go to https://powerapps.uservoice.com/ if you have suggestions on how to make this better. It will help us prioritize the features we work on.

David Nissimoff [MSFT] ** PowerApps Staff

"

For testing, if I leave PowerApps App open where it is with IOS device, left to work with the other stuffs, then come back again, the App would stay where it was left. This is also the same with the PowerApps studio from Windows Store.

Another thing that might affect this should be the domain policy.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Top Solution Authors
Top Kudoed Authors
Users online (6,923)