TaskDelayActivity
Category: Common Steps Namespace: CMS.Plugin.FlowManagement.Domain.FlowBusiness.Activitys Base Class: BusinessActivity Module: FlowManagement.Domain
Overview
TaskDelayActivity (Task Delay) is a node used to add delays in the process. It inherits from BusinessActivity and supports configuring a fixed delay or dynamically obtaining the delay time from the process context.
Configuration Description
| Property Name | Type | Required | Default | Description |
|---|---|---|---|---|
| TaskDelay | int | No | 0 | Delay time (milliseconds) |
| TaskDelayContext | string | No | - | Key name to get delay time from process context |
Usage Examples
Fixed Delay
{
"Type": "TaskDelayActivity",
"Name": "Wait 3 Seconds",
"Alias": "Wait3Seconds",
"TaskDelay": 3000
}
Dynamic Delay
{
"Type": "TaskDelayActivity",
"Name": "Dynamic Wait",
"Alias": "DynamicWait",
"TaskDelayContext": "WaitTime_Value"
}
Notes
- 💡 TaskDelayContext takes precedence over TaskDelay.
- 💡 Delay time unit is milliseconds.
- 💡 Execution time logs are not printed.
Related Nodes
- TimingTriggerActivity: Timing Trigger Node
Update History
| Date | Version | Description |
|---|---|---|
| 2025-11-28 | 1.0 | Initial version |
Last updated: 2025-11-28