ControlPolicy Class |
Namespace: Omada.OE.AppLogic.CtrlPolicy
[SerializableAttribute] public class ControlPolicy : ICloneable
The ControlPolicy type exposes the following members.
Name | Description | |
---|---|---|
![]() | CorrectiveAction |
Id of a Copy rule
|
![]() | DataObjectTypeId | |
![]() | DataSetType | |
![]() | DataSetViewId |
Only used if DataSetType is "DataObjectQuery".
Id of a data object (policy scoping) view.
|
![]() | DataSourceId |
Only used if DataSetType is "SQLQuery".
Id of a DataSet data object.
|
![]() | Description | |
![]() | ExceptionDescriptionTemplate |
Template used for composing a description for a policy exception.
The template can contain property variables from the Data object type.
|
![]() | Id | |
![]() | Inactive | |
![]() | MaxViolations |
If the value is 0 it is ignored – meaning that there is no max.
|
![]() | Modes | |
![]() | Name | |
![]() | OwnerId |
The owner of a policy is asigned to deal with exceptions for it if no ReolverPath is specified.
Id of a user or a user group.
|
![]() | ResolverPaths |
Specifies a data object reference path or a fixed user/user group to be used to derive who should evaluate/remedy an exception.
The reference path has the data object that violates the policy as starting point
Fixed user/group should be in the format: "User:Username" or "Group:GroupName"
|
![]() | SurveyProcessTemplate |
Id of a Survey process template
|
![]() | TimerId |
Schedule for the policy.
|
Name | Description | |
---|---|---|
![]() ![]() | NonSupportedDataObjectTypes |
Data object types for which it is not possible to create a ControlPolicy.
|
Name | Description | |
---|---|---|
![]() | ToBool |
Converts object to boolean.
(Defined by ObjectExtensions.) |
![]() | ToDateTime |
Converts object to DateTime.
(Defined by ObjectExtensions.) |
![]() | ToInt |
Converts object to integer.
(Defined by ObjectExtensions.) |