Execution Modes
Choose when SQL runs
Configure the SQL Action
Build a reporting SQL action
Add the SQL Query
Write the login activity query
Security and Performance Recommendations
Safe, efficient SQL execution
Execution Modes
SQL Actions can run:- Manually
- On a configurable schedule
- When an SLA condition is met
Configure a SQL Action
Using the Wizard
Go to GermainUX Workspace > Wizards > SQL Action.
SQL Action Config Wizard - GermainUX
Using the Configuration Screen
Go to GermainUX Workspace > Automation > SQL. Select an existing SQL Action to edit it, or click + to open the SQL Action wizard.SQL Action Reference
SQL Query Configuration
Each entry insqlQueries can contain:
References
References allow the action or report template to access other GermainUX configuration objects securely.
A referenced property can be accessed with an expression such as:
Example: Scheduled GermainUX Login Report
This example creates a daily email report containing an attachment with the GermainUX login activity recorded during the previous day.1 Step 1: Configure the SQL Action
- Go to GermainUX Workspace > Automation > SQL.
- Click + to open the SQL Action wizard.
- Enter a unique action name.
- Select or create the distribution list that will receive the report.
- Select or create the email template.
- Enable Attach Result.
- Click Next.

Configure the SQL Action - GermainUX
2 Step 2: Configure the Connection
To query the GermainUX Datamart, enable Run against GermainUX Datamart. To query another database:- Select a configured database.
- Select the credentials used to access it.
- Test the connection, if that option is available.
- Click Next.

Configure the Connection - GermainUX
3 Step 3: Add the SQL Query
Add the query that returns GermainUX login activity from the previous day. A SQL Action can contain one or more queries. The selected database and credentials from the previous step determine where those queries execute. Preview or validate the query results before continuing.
Add the SQL Query - GermainUX
4 Step 4: Configure the Schedule
- Enable Run on Schedule.
- Configure the desired execution frequency or enter a CRON expression.
- Set the report to run once per day at the required time.
- Click Next.

Configure the Schedule - GermainUX
5 Step 5: Configure an SLA Trigger
SQL Actions can run on a schedule or when an SLA is breached. Because this example uses a daily schedule, leave the SLA selection empty and click Finish. GermainUX will now execute the query each day and send the resulting login report to the selected distribution list.
Configure an SLA Trigger - GermainUX

Attachment in a report example - GermainUX
Security and Performance Recommendations
- Use a dedicated database account with the minimum required permissions.
- Prefer read-only credentials for reporting queries.
- Store credentials in GermainUX credential configurations.
- Use parameterized values where supported.
- Avoid unrestricted or destructive SQL statements.
- Validate queries against a non-production database before enabling them.
Show all 9
Show all 9
- Apply execution limits and query timeouts.
- Schedule resource-intensive queries outside peak operating periods.
- Suppress delivery when an empty result provides no useful information.
Get Help
Contact GermainUX Support
The Germain Team can help you set this up.
Can't find what you need?
Search all GermainUX docs with Ctrl + K, or use the feedback buttons at the bottom of this page to tell us what is missing.
The content of this document is proprietary to GERMAIN SOFTWARE LLC.

