Skip to main content
Skip table of contents

ShowSystemMessageAtEndOfExecution: Display system message at automation script end

Tag: ShowSystemMessageAtEndOfExecution

This action triggers the displays at the end of the process of messages (notifications, errors...) issued by sapio365 during the execution of the current script.

Detailed Description

The variable SystemMessage may be set by the script or by automation operations.

If not empty and if enabled, the following dialog pops up at script execution end:



To enable it, use:
ShowSystemMessageAtEndOfExecution

To disable it, use:
DisableSystemMessageAtEndOfExecution

It is disabled by default. When the user clicks the STOP button on the automation splash, SystemMessage is set to: "Job stopped."

Example Scripts

XML
<ShowSystemMessageAtEndOfExecution/>
XML
<ytriaAutomation>
	<ShowSystemMessageAtEndOfExecution/><!-- message dialog containing SystemMessage shall pop up at end of execution if SystemMessage is not empty (if user clicked STOP on splash) -->
	<MsgSplash Title="JOB IS RUNNING" SetMsg="Loading users" StopButtonText="Stop Job"/>
	<ShowUsers/>
	<MsgSplash AddMsg="Show me your box"/>
	<MsgBox Title="MSGBOX" Message="CAN YOU SEE ME?" MessageExtended="Hein?" Type="questioN"/>
	<MsgSplash AddMsg="Show me your input"/>
	<userinput Title="TEST USER INPUT">
		<Variable name="varGuest" value="false" Label="Files shared directly with guests" Type="BoolToggle" />
		<Variable name="varNumPeople" value="false" Label="Files shared with a certain number of people or more" Type="BoolToggle" />
		<Variable name="varNumber" value="0" Label="Enter the minimum number of file shares" Type="Text" readonly="false" />
		<Event target="varNumber" mode="disableifnoteq" source="varNumPeople" value="true"/>
	</userinput>
	<MsgSplash SetMsg="Processing groups" AddMsg="<a href=https://www.ytria.com/></a>"/>
	<ShowGroups>
		<Filter columnID="isTeam" Value="Team"/>
		<Select lines="all"/>
		<MsgSplash AddMsg="LOAD MORE - Please wait..."/>
		<SelectedGroupLoadMore/>
		<MsgSplash ResetLastMsg="LOAD MORE - Done"/>
		<MsgSplash AddMsg="ADD COMMENT - Please wait"/>
		<AddComment columnTitle="Note:" text="Show me your team" ColumnID="ownerusernames"/>
		<Move ColumnID="ownerusernames" Position="6"/>
		<Move ColumnID="ownerusernames-A" Position="7"/>
		<Remove ColumnID="groupType"/>
		<Remove ColumnID="visibility"/>
	</ShowGroups>
</ytriaAutomation>
JavaScript errors detected

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

If this problem persists, please contact our support.