Skip to main content
Version: Next

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 NameTypeRequiredDefaultDescription
TaskDelayintNo0Delay time (milliseconds)
TaskDelayContextstringNo-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.

Update History​

DateVersionDescription
2025-11-281.0Initial version

Last updated: 2025-11-28