Skip to main content
Skip table of contents

System Variable: Last Loading Error

Variable: LastLoadingError

The LastLoadingError variable shows users the last loading error message.


XML
{%LastLoadingError%}


LastLoadingError resets whenever a new loading action is triggered via automation.


Attributes

AttributesAttributes ValueValue Description
KeepAliveTrue / False  If KeepAlive is not set, error dialogs (on module opening, load more, etc..) are automatically closed.



Detailed Description

In case of error, this shows this dialog:

[INSERT SCREENSHOT]

whereas the following script would have shown that dialog:

<ytriaAutomation Application="sapio365">

<SelectedShowDriveItemsUsers NewFrame="True" KeeAlive="True"/>
</ytriaAutomation>

[INSERT SCREENSHOT]

Note that {%LastLoadingError%} only contains the message part of the regular error dialog.

system-variable-error-message

system-variable-error-while-loading-message

Example Script

XML
<ytriaAutomation Application="sapio365">
	<SelectedShowDriveItemsUsers NewFrame="True">
		<If target="var" test="{%LastLoadingError%}" mode="notequals" value="">
			<MsgBox Title="Error" Type="Error" Message="{%LastLoadingError%}"/>
		</If>
	</SelectedShowDriveItemsUsers>
</ytriaAutomation>







JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.