How to continue after a timeout?

Post your questions and help other users.

Moderator: Martin

Post Reply
michael.heuberger
Posts: 27
Joined: 04 Feb 2014 09:19

How to continue after a timeout?

Post by michael.heuberger » 23 Feb 2014 02:46

Hello guys

In my flow I want to send the GPS location via SMS but sometimes GPS takes forever. So i added a timeout and a new condition to check whether the gps location is set. If not, it will fetch the location via network.

But this is not working. It seems that the flow is aborted after the GPS location timeout. Is there a trick to fix this?

Cheers
Michael

User avatar
Martin
Posts: 4468
Joined: 09 Nov 2012 14:23

Re: How to continue after a timeout?

Post by Martin » 23 Feb 2014 12:24

Hi,

You can add an exception-handling connection to the GPS action: Append a regular action after the GPS-action, select the connection between the two actions, press the edit-icon and change the type of the connection to 'Exception'.
The second action will only be executed when an exception occurs in the first action so you probably don't need the condition to check if the location is set anymore.

Regards,
Martin

michael.heuberger
Posts: 27
Joined: 04 Feb 2014 09:19

Re: How to continue after a timeout?

Post by michael.heuberger » 23 Feb 2014 22:15

Gotcha, thanks!!

Post Reply