Procedure Plan Option Input

Input representation of the details of a procedure plan option.

JSON Example 

1"procedurePlanOptions": [
2        {
3          "saveContextMapping": "AssetToSalesTransactionMapping",
4          "expressionSetDefinition": "9QAZ60000004ECOOA2",
5          "expressionSetLabel": "Revenute_Default_Pricing_Procedure",
6          "expressionSetApiName": "Revenue Default Pricing Procedure",
7          "logic": "1 AND 2 AND 3",
8          "priority": 1,
9          "procedurePlanCriterion": [
10            {
11              "conditionSequence": 1,
12              "fieldObject": "BillingCountry",
13              "fieldPath": "BillingCountry",
14              "literalValue": "test",
15              "operator": "Equals",
16              "dataType": "Text"
17            },
18            {
19              "conditionSequence": 2,
20              "fieldObject": "BillingPostalCode",
21              "fieldPath": "BillingPostalCode",
22              "literalValue": "sample",
23              "operator": "Equals",
24              "dataType": "Text"
25            },
26            {
27              "conditionSequence": 3,
28              "fieldObject": "LastActivityDate",
29              "fieldPath": "LastActivityDate",
30              "literalValue": "2024-07-14",
31              "operator": "LessThan",
32              "dataType": "Date"
33            }
34          ]
35        }
36      ]

Properties 

NameTypeDescriptionRequired or OptionalAvailable Version
expression​Set​ApiNameStringAPI name of the expression set.Optional62.0
expression​Set​DefinitionStringExpression set definition that’s associated with this procedure plan option record.Required62.0
expression​Set​LabelStringLabel of the expression set that’s associated with this procedure plan option record.Optional62.0
logicStringComputation logic for the conditions applied to a procedure plan option. This property value must be blank if the resolution type is default.Optional62.0
priorityIntegerPriority for the specified criteria. This property value must be greater than 0 and must be unique within a procedure plan section.Required62.0
procedure​Plan​CriterionProcedure Plan Criterion Input[]Details of the rule-based criteria for the procedure. You can edit or delete a procedure plan criterion only if it isn’t associated with an active procedure plan version.Optional62.0
readContext​MappingStringMapping that’s used to read from the mapped object and populate the context definition. This property value must be associated with a context definition.Optional62.0
recordIdStringID of the procedure plan option record.Required62.0
saveContext​MappingStringMapping that’s used to save data from the context definition and populate the mapped object. This property value must be associated with a context definition.Optional62.0