Tag: CheckSession

(Description not available)


<CheckSession Value="WarningIfAdmin" Type="ERROR"/>
XML

Tag Attributes

AttributesAttribute ValueValue DescriptionComment
ValueA semi-colon-separted combination of:
RequiredLogin
WarningIfAdmin
WarningIfAdminTech
WarningIfUltraAdminTech
N/AN/A
TypeIf omitted or left blank (""), displays the warning message box,
If set to "Error", triggers an automation error.
N/AN/A

Detailed Description

Upon analysis of the context (current session is active, admin, ultra admin), the job center opens a dialog to inform the user, who might cancel execution.

starting-execution-script


NOTEAn RBAC session is considered an Ultra Admin.


RequiredLoginA session must be active for the job to execute

active-session-required-sapio365-login



WarningIfAdminWarns about possible missing permissions if you're logged in as an admin

warning-if-admin-need-permissions



WarningIfUltraAdminTechAn Admin session is recommended

Warning-If-Ultra-Admin-Tech


WarningIfAdminTechAn Ultra Admin session is recommended

Warning-If-Ultra-Admin-Tech

Example Script

<ytriaAutomation Application="sapio365">
	<!-- logged in as admin: error -->
	<CheckSession Value="WarningIfAdmin" Type="ERROR"/>
	<ShowGroups/>
</ytriaAutomation>
XML