Skip to Content
author's profile photo Former Member
Former Member

Agentry - How to verify if there is connectivity?

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 16, 2016 at 12:01 AM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.