Skip to main content
salmas
Staff
Staff
January 5, 2026

Technical Tip: Policy Expiry automation stitch for an email alert with One-time Schedule

  • January 5, 2026
  • 0 replies
  • 401 views
Description This article describes the process of getting notification of policy expiry ahead of its scheduled expiry using a one-time schedule.
Scope FortiGate.
Solution

Currently, there is no direct method of getting an alert for policy expiry before its scheduled expiry date. A one-time schedule can be used to achieve this alert notification. 

 

Follow this article to configure policy expiry: Technical Tip: Configuring a Schedule Firewall policy expiration.

 

In the policy below, expiry is set for 01/01/2026 at 11:59 PM.

 

Policy with expiry.png

 

Create a one-time schedule with the end date the same as the policy expiry date and enable the 'Pre-expiration event log' option.

The name of the above policy is 'Policy1', and this one-time schedule name is set as 'Policy1_Expiry'.

 

One-Time Schedule.png

 

Refer to the article below to see more details about the One-time schedule 'Pre-expiration event log' generation.
Technical Tip: One-time schedule pre-expiration log generation 

Create an automation Trigger for a One-time schedule event log:

 

Trigger_Event_One_Time_Schedule.png

 

Create an Automation action for email alert:

 

Automation_Action.png

 

Create an automation stitch combining Trigger and Action:

 

Automation_Stitch.png

 

Based on the one-time schedule, the system event log will be generated 24 hours prior, as shown in the screenshot below.

 

log_event.png

 

Upon this event log trigger, an alert will be sent to the configured email address.

 

Email.png
Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
Thought Leadership. Security Summit. Thursday, October 8th. Disney's Grand Californian Hotel & SPA, Anaheim, CA.
Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT