Altova MobileTogether Designer

Try/Catch Server Connection Errors

Home Prev Top Next

The Try part of this action (see screenshot below) is used to try actions that will make a connection to the server. If the connection is not made, then the Catch part of the action is triggered. If the connection can be made, but there might be subsequent exceptions (for example if a file is not found), then you can use the Throw option to generate the exceptions (see screenshot below).

MTActionTryCatchServConErr
Note:The MobileTogether XPath extension function mt-external-error-text() can be used in the Catch part to display information about the server connection error.

 

Note:When a server connection error occurs, the first of the following actions that exists is triggered: (i) a Try/Catch Server Connection Errors action, (ii) action/s for the OnServerConnectionError event, (iii) a MobileTogether message about the error, following which the workflow is resumed.

 

MobileTogether extension functions

MobileTogether provides a range of XPath extension functions that have been specifically created for use in MobileTogether designs. Some functions can be particularly useful with specific actions. For example, mt-available-languages() returns the languages in which the solution is available and could, for example, be used with the Message Box action. If a function is especially relevant to this action, it is listed below. For a full list of extension functions and their descriptions, see the topic MobileTogether Extension Functions.

 

© 2016-2022 Altova GmbH