Skip to main content

Formcondition

Represent a form conditional.

Properties

NameTypeDescriptionNotes
rule_operatorEnum [ 'AND', 'OR' ]ConditionRuleLogicalOperatorType value. AND ConditionRuleLogicalOperatorTypeAnd OR ConditionRuleLogicalOperatorTypeOr[optional]
rules[]ConditionruleList of rules.[optional]
effects[]ConditioneffectList of effects.[optional]
}

Example

from sailpoint.custom_forms.models.formcondition import Formcondition

formcondition = Formcondition(
rule_operator='AND',
rules=[
sailpoint.custom_forms.models.conditionrule.conditionrule(
source_type = 'ELEMENT',
source = 'department',
operator = 'EQ',
value_type = 'STRING',
value = 'Engineering', )
],
effects=[
sailpoint.custom_forms.models.conditioneffect.conditioneffect(
effect_type = 'HIDE',
config = sailpoint.custom_forms.models.conditioneffect_config.conditioneffect_config(
default_value_label = 'Access to Remove',
element = '8110662963316867', ), )
]
)

[Back to top]