SettingsWriteActivity
Category: Common Steps Namespace: CMS.Plugin.FlowManagement.Domain.FlowBusiness.Activitys Base Class: ActionActivity Module: FlowManagement.Domain
Overview
SettingsWriteActivity (Write System Settings) is a node used to write system setting values in the process. It inherits from ActionActivity and writes values from the process context to system configuration via the ISettingManager service.
Configuration Description
| Property Name | Type | Required | Default | Description |
|---|---|---|---|---|
| ProviderName | string | No | G | Provider Name (G=Global) |
| ProviderKey | string | No | - | Provider Key |
| SettingName | string | Yes | - | Setting Name |
| SettingsDataContext | string | Yes | SettingsDataContext_Value | Process context key name for reading the value |
Process Context
Input Parameters
| Parameter Name | Type | Description |
|---|---|---|
{SettingsDataContext} | any | Setting value to write |
Usage Examples
{
"Type": "SettingsWriteActivity",
"Name": "Update System Config",
"Alias": "WriteSetting",
"SettingName": "App.LastRunTime",
"SettingsDataContext": "CurrentTime_Value"
}
Notes
- 💡 Uses ABP's ISettingManager service.
- 💡 Supports global settings and tenant settings.
- ⚠️ Setting name must be defined in the system.
Related Nodes
- SettingsReadActivity: Read System Settings Node
Update History
| Date | Version | Description |
|---|---|---|
| 2025-11-28 | 1.0 | Initial version |
Last updated: 2025-11-28