cancel
Showing results for 
Search instead for 
Did you mean: 

Agentry - How to verify if there is connectivity?

Former Member
0 Kudos

Hi support,

is this a way (in Work Manager 6.2) to know if internet connection is available or not?

What I would like to obtain is executing an online call (oData) if there is connectivity, otherwise save data locally (it will be saved next time you would call transmit...);

I try with OFFLINE function in an enabling rule, but this say only if agentry client is in online or offline mode (not if you have internet access or not at runtime)...

Any hint?

Thank you so much,

Manuel

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

You would need to use OpenUI, and call in the OS and check to see if there is a connection.  You can then save this value into a field and then use it to check on the client to see if there ia connection or not.

Former Member
0 Kudos

Thank you Stephen,

do you think this is the only way?

I would prefer not to use OpenUI if it is possible...

Any other option?

Thank you so much,

Manuel

bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

Based on your requirement, it sounds like you want to use Background sending.  If you enable background sending and have a connection set to stay connected the client will attempt to process transactions in the background upon apply.  If the connection is available it will be processed but if not it will retry a set number of times before keeping the transaction on the device until a transmit occurs.

Certainly as Steve indicated, Open UI is the way to go to truly determine your connection state but background sending may get you what you want.  The thing to remember about it in context of Work Manager is that many of the transactions don't actually generate until you hit the transmit button since they are bundling up all workorder / notification related events into one transaction.  If you are looking for a more real time update if a connection is available you may need to adjust those transactions somewhat.

--Bill

Answers (0)