Skip to main content
Skip table of contents

SetKeepAlive: change KeepAlive value for a dialog or frame

The SetKeepAlive action lets you change the value of the KeepAlive parameter that is available for all actions that display a dialog box or a module frame (.e.g. ShowUsers in sapio365).

Tag Attributes

Attributes

Value Description

Value

Any value that is valid for KeepAlive

Example Script

XML
<ytriaAutomation Application="sapio365" console="false">

    by default here keepAlive="true"
	<ShowUsers> 
		<Select Lines="ByValue">
			<SetParam ColumnID="department" Value="retail"/>
		</Select>
		<SetKeepAlive value="false"/>
		<GroupBy ColumnID="jobTitle"/>
	</ShowUsers>
	
</ytriaAutomation>

In this example, the Users module starts with KeepAlive=”true” as its default setting.

With <SetKeepAlive value="false"/>, we set the module to close automatically after its content automation is done: the module closes as if it had started with <ShowUsers KeepAlive="false">

JavaScript errors detected

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

If this problem persists, please contact our support.