from sailpoint.v2024.models.workflow_library_operator import WorkflowLibraryOperator
workflow_library_operator = WorkflowLibraryOperator(
id='sp:compare-boolean',
name='Compare Boolean Values',
type='OPERATOR',
description='Compare two boolean values and decide what happens based on the result.',
is_dynamic_schema=False,
deprecated=True,
deprecated_by=datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
is_simulation_enabled=True,
form_fields=[{description=Enter the JSONPath to a value from the input to compare to Variable B., helpText=, label=Variable A, name=variableA.$, required=true, type=text}, {helpText=Select an operation., label=Operation, name=operator, options=[{label=Equals, value=BooleanEquals}], required=true, type=select}, {description=Enter the JSONPath to a value from the input to compare to Variable A., helpText=, label=Variable B, name=variableB.$, required=false, type=text}, {description=Enter True or False., helpText=, label=Variable B, name=variableB, required=false, type=text}]
)