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 Name | Type | Required | Default | Description |
|---|---|---|---|---|
| CounterName | string | Yes | - | Counter Name (Process Context Key) |
Process Context
Input/Output Parameters
| Parameter Name | Type | Description |
|---|---|---|
{CounterName} | int | Counter 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.
Related Nodes
- MockDataActivity: Mock Data Node
- VariableWriteActivity: Variable Distribution Node
Update History
| Date | Version | Description |
|---|---|---|
| 2025-11-28 | 1.0 | Initial version |
Last updated: 2025-11-28