Skip to main content
Version: Next

DataFilterActivity

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

Overview​

DataFilterActivity is a node used to filter data collections in a flow. Inheriting from ActionActivity, it uses Lambda expressions for data filtering and supports Skip and Take pagination operations.

Configuration Instructions​

Property NameTypeRequiredDefault ValueDescription
DataSourceContextstringYesDataFilter_SourceContext_ValueFlow context key for source data
LambdaExpressionStringstringNo-Lambda expression string
SkipintNo0Number of elements to skip
TakeintNo10Number of elements to take
DataResultContextstringYesDataFilter_ResultContext_ValueFlow context key for filter result

Flow Context​

Input Parameters​

Parameter NameTypeDescription
{DataSourceContext}IEnumerableData collection to filter

Output Parameters​

Parameter NameTypeDescription
{DataResultContext}List<object>Filtered data collection

Usage Examples​

{
"Type": "DataFilterActivity",
"Name": "Filter Products",
"Alias": "FilterProducts",
"DataSourceContext": "ProductList_Value",
"LambdaExpressionString": "obj.Price > 100",
"Skip": 0,
"Take": 50,
"DataResultContext": "FilteredProducts_Value"
}

Notes​

  • 💡 Uses System.Linq.Dynamic.Core to parse Lambda expressions
  • 💡 Use 'obj' as the parameter name in Lambda expressions
  • ⚠️ Data source must be an enumerable type

Update History​

DateVersionDescription
2025-11-281.0Initial version

Last updated: 2025-11-28