Skip to main content
Version: Next

BusinessCounterActivity

Category: Common Steps Namespace: CMS.Plugin.FlowManagement.Domain.FlowBusiness.Activitys Base Class: ActionActivity Module: FlowManagement.Domain

Overview​

BusinessCounterActivity (Counter) is a node used to implement counting functions within a process. It inherits from ActionActivity and increments the specified counter value by 1 each time it is executed.

Configuration Description​

Property NameTypeRequiredDefaultDescription
CounterNamestringYes-Counter Name (Process Context Key)

Process Context​

Input/Output Parameters​

Parameter NameTypeDescription
{CounterName}intCounter value, increments by 1 each execution

Usage Examples​

{
"Type": "BusinessCounterActivity",
"Name": "Product Counting",
"Alias": "ProductCounter",
"CounterName": "ProductCount_Value"
}

Notes​

  • 💡 Initial counter value is 0.
  • 💡 Counter value increments by 1 each execution.
  • ⚠️ A warning log is recorded if the counter name is empty.

Update History​

DateVersionDescription
2025-11-281.0Initial version

Last updated: 2025-11-28