Understand record changed Action values
- Last UpdatedFeb 20, 2024
- 2 minute read
This topic relates to Understand function parameters for the Function property of an Action item.
Action values
These record change Action values describe the set of actions for the Action property of RecordChangedEventArgs properties. These values can be treated as a bit field (set of flags).

|
Value |
Description |
|---|---|
|
None |
Nothing changed. |
|
Add |
The record is new and was created through the HDP data capture process, for example, capturing a new Production record. |
|
Change |
The record is being updated and the change was created through the HDP data capture process, for example, a Downtime or Energy event record is being closed. |
|
Manual |
The record was changed by a manual edit. This flag is used in combination with the Change and Add flags. You can use a bitwise AND operation to test if the change is manual regardless of whether it is a Change or Add; for example: (args.Action & RecordChangeAction.Manual) == RecordChangeAction.Manual. |
|
ManualChange |
An existing record was manually updated. This is a combination of the Change and Manual flags, for example, Change | Manual. |
|
ManualAdd |
The record was manually added. This is a combination of the Change and Add flags, for example, Add | Manual. |
|
Internal |
The record was changed as part of an internal system update. Do not use this flag or process events with this flag set. |