Pre-Conditions#
Pre-Conditions define when an Automation Scheduled Action (ASA) task is allowed to run. They can be out-of-the-box time conditions or custom conditions implemented with DEE rules.
After Context Resolution selects the target entity instances, Pre-Conditions evaluate whether the ASA task is permitted to run at the current time or under specific defined rules.
Pre-Conditions do not evaluate runtime readiness of entity instances. They act as execution guards that restrict when the Scheduled Action task can move forward to be evaluated by the Detectors.
How It Works#
- The ASA task triggers according to its schedule.
- Each configured Pre-condition is evaluated.
- If all Pre-Conditions are satisfied, the flow continues to the Detectors to ensure the instance readiness.
- If at least one Pre-Condition is not satisfied, the ASA task does not proceed and is evaluated again in the next polling cycle.
Pre-Condition Options#
The Pre-Conditions section allows you to configure one or more rules, and manage them using the list panel in the wizard. All configured Pre-Conditions must evaluate successfully for the Scheduled Action to proceed.
Only UTC date and time is considered
All time ranges and days are evaluated according to UTC time, not local time.
Restricts execution to a specific daily UTC time interval.
You must define the start and end time, such as:
- Multiple Timeframes: they work as an
OR, meaning that execution can happen in any of the specified intervals. For example,12:30-14:30 16:30-18:30. - Multiple Entries: they work as an
AND, meaning that execution must happen in the specified intervals. For example,12:30-14:30and14:00-15:00. - Single Timeframe: execution must happen in the specified interval. For example,
12:30-14:30.
Ideal for:
- Maintenance windows
- Night operations
- Controlled execution during off-peak hours
Result:
- Returns
Trueif current time is inside the configured window. - Otherwise returns
Falseand the action waits for the next polling cycle.
Restricts execution to specific days of the week.
You must select one or more weekdays.
Ideal for:
- Weekday-only operations
- Weekend maintenance restrictions
- Business-calendar-based execution
Result:
- Returns
Trueif the current weekday matches the configured list. - Otherwise returns
Falseand the ASA task waits for the next polling cycle.
Execution is controlled through custom logic implemented in a DEE action.
Ideal for:
- Complex business rules
- Calendar logic not covered by standard options
- External system validation
- Custom time restrictions
Specify the DEE action you want to use as a Pre-Condition. Make sure its inputs and outputs match the DEE contract:
| Direction | Key Name | Data Type | Description |
|---|---|---|---|
| Input | Task | AutomationScheduledActionTask | Provides context about the current task being validated. |
| Output | Result | Boolean | Determines the outcome. true = Pass, false = Fail. |
Table 1: Pre-Condition DEE Contract
Result:
- Returns
Trueto allow execution. - Returns
Falseto stop execution and re-evaluate in the next polling cycle.
Configuration Steps#
In the Create Scheduled Action wizard:
- After completing the General Data tab, proceed to the Pre-Conditions step.
- Select to create a new Pre-Condition.
- Provide a name and select the Type.
- Configure the required parameters depending on the selected type.
- Repeat as needed to combine multiple Pre-Conditions.
- Use the reorder controls if execution sequence matters for readability.
- Save and proceed to the next section.



