TimingTriggerActivity
Category: Common Steps Namespace: CMS.Plugin.FlowManagement.Domain.FlowBusiness.Activitys Base Class: BusinessActivity Module: FlowManagement.Domain
Overview
TimingTriggerActivity (Timing Trigger) is a node used to implement scheduled tasks within a process. It inherits from BusinessActivity and uses the Quartz scheduler to trigger subsequent process execution based on Cron expressions.
Configuration Description
| Property Name | Type | Required | Default | Description |
|---|---|---|---|---|
| CronString | string | Yes | 0/10 * * * * ? | Cron Expression |
Cron Expression Examples
| Expression | Description |
|---|---|
| 0/10 * * * * ? | Execute every 10 seconds |
| 0 0/5 * * * ? | Execute every 5 minutes |
| 0 0 * * * ? | Execute every hour |
| 0 0 8 * * ? | Execute every day at 8:00 AM |
| 0 0 8 ? * MON-FRI | Execute every weekday at 8:00 AM |
Reference: https://www.quartz-scheduler.net/documentation/quartz-3.x/tutorial/crontriggers.html
Usage Examples
{
"Type": "TimingTriggerActivity",
"Name": "Trigger Every Minute",
"Alias": "MinuteTrigger",
"CronString": "0 * * * * ?"
}
Notes
- 💡 Uses Quartz scheduler to implement timing functions.
- 💡 Automatically cancels scheduled tasks when the process stops.
- ⚠️ Records an error log if the Cron expression format is incorrect.
- ⚠️ Exit mode is Manual.
Related Nodes
- TaskDelayActivity: Task Delay Node
Update History
| Date | Version | Description |
|---|---|---|
| 2025-11-28 | 1.0 | Initial version |
Last updated: 2025-11-28