Procedure Plan Criterion Input

Input representation of the details of a procedure plan criterion.

JSON Example 

1"procedurePlanCriterion": [
2            {
3              "conditionSequence": 1,
4              "fieldObject": "BillingCountry",
5              "fieldPath": "BillingCountry",
6              "literalValue": "test",
7              "operator": "Equals",
8              "dataType": "Text"
9            },
10            {
11              "conditionSequence": 2,
12              "fieldObject": "BillingPostalCode",
13              "fieldPath": "BillingPostalCode",
14              "literalValue": "sample",
15              "operator": "Equals",
16              "dataType": "Text"
17            },
18            {
19              "conditionSequence": 3,
20              "fieldObject": "LastActivityDate",
21              "fieldPath": "LastActivityDate",
22              "literalValue": "2024-07-14",
23              "operator": "LessThan",
24              "dataType": "Date"
25            }
26          ]

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
condition​SequenceIntegerSequence to be followed to process the conditions defined in the procedure plan option. This property value must be unique within a procedure plan option.Required62.0
dataTypeStringData type of the field from the selected object.Required62.0
field​ObjectStringValue of the object field that’s used to resolve the procedure plan option. This property value must belong to the primary object that’s associated with the procedure plan definition, at a maximum two levels up in the hierarchy.Required62.0
fieldPathStringPath of the field that’s used in a procedure in relation to the object that the field belongs to. The field path must end with the object field that’s associated with the procedure plan criterion.Required62.0
literal​ValueStringUser-defined value that’s compared to the value of the sObject field value.Optional62.0
operatorStringOperator that’s used by the procedure plan criterion.Required62.0
recordIdStringID of the procedure plan criterion record.Required62.0