Salesforce

IsServerAvailable (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

IsServerAvailable (Magic xpa 4.x)

Checks whether there is a network connection and the server can be reached.

Syntax:

IsServerAvailable()

Parameters:

None

Returns:

Logical.

Returns True if there is a network connection and the server can be reached.

Returns False if after 10 seconds there is no response.

If on the last access to the server, it is found that the offline metadata is not synced, then from that point onwards, this function will return False.

Note:

IsServerAvailable should be called as a condition to calling non-Offline programs.

See also:

ServerLastAccessStatus

Since version: 2.4

Reference
Attachment 
Attachment