Variable: LastLoadingError

The LastLoadingError variable shows users the last loading error message.


{%LastLoadingError%}
XML


NOTE

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

Attributes

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

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.

Example Script

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


system-variable-error-message


system-variable-error-while-loading-message