OnContactEvaluationSubmit
ContactEvaluation - Results available condition
Parameters
-
Operator - "EQUALS"
-
Operands – An array of string, array length can only be 1. Value is the evaluation form ID.
-
ComparisonValue – "$.ContactLens.ContactEvaluation.Form.FormId"
-
Negate – false
ContactEvaluation - Form score condition
ContactEvaluation form score condition has a compound condition format where Operator is an AND condition and its operands consist of two conditions that represent the form and the form score.
Parameters that represent the form: See ContactEvaluation - Results available condition
Parameters that represent the form score:
-
Operator - "NumberLessOrEqualTo" | "NumberGreaterOrEqualTo"
-
Operands – An array of number, array length can only be 1. Value is the form score.
-
ComparisonValue – "$.ContactLens.ContactEvaluation.Form.Score"
-
Negate – false
Following is an example.
{ "Operator": "AND", "Operands": [ { "Operator": "EQUALS", "Operands": ["11111111-1234-5678-9123-12345678012"], "ComparisonValue": "$.ContactLens.ContactEvaluation.Form.FormId", "Negate": false }, { "Operator": "NumberLessOrEqualTo", "Operands": [50], "ComparisonValue": "$.ContactLens.ContactEvaluation.Form.Score", "Negate":false }, ] }
ContactEvaluation - Section Score
ContactEvaluation section score condition has a compound condition format where Operator is an AND condition and its operands consist of three conditions that represent the form, section, and section score respectively.
Parameters that represent the form: See ContactEvaluation - Results available condition
Parameters that represent the section:
-
Operator - "EQUALS"
-
Operands – An array of string, array length can only be 1. Value is the section reference ID.
-
ComparisonValue – "$.ContactLens.ContactEvaluation.Section.SectionRefId"
-
Negate – false
Parameters that represent the section score:
-
Operator - "NumberLessOrEqualTo" | "NumberGreaterOrEqualTo"
-
Operands – An array of number, array length can only be 1. Value is the section score.
-
ComparisonValue – "$.ContactLens.ContactEvaluation.Section.Score"
-
Negate – false
Following is an example.
{ "Operator": "AND", "Operands": [ { "Operator": "EQUALS", "Operands": ["11111111-1234-5678-9123-12345678012"], "ComparisonValue": "$.ContactLens.ContactEvaluation.Form.FormId", "Negate": false }, { "Operator": "EQUALS", "Operands": ["s12345678"], "ComparisonValue": "$.ContactLens.ContactEvaluation.Section.SectionRefId", "Negate":false }, { "Operator": "NumberLessOrEqualTo", "Operands": [50], "ComparisonValue": "$.ContactLens.ContactEvaluation.Section.Score", "Negate":false }, ] }
ContactEvaluation - Question and Answer
ContactEvaluation question and answer condition has a compound condition format where Operator is an AND condition and its operands consist of three conditions that represent the form, question, and answer value respectively.
Parameters that represent the form: See ContactEvaluation - Results available condition
Parameters that represent the question:
-
Operator - "EQUALS"
-
Operands – An array of string, array length can only be 1. Value is the question reference ID.
-
ComparisonValue – "$.ContactLens.ContactEvaluation.Question.QuestionRefId"
-
Negate – false
Parameters that represent a numeric answer:
-
Operator - "NumberLessOrEqualTo" | "NumberGreaterOrEqualTo"
-
Operands – An array of number, array length can only be 1. Value is the answer value.
-
ComparisonValue – "$.ContactLens.ContactEvaluation.Question.Answer.Value"
-
Negate – false
Following is an example for a numeric question type.
{ "Operator": "AND", "Operands": [ { "Operator": "EQUALS", "Operands": ["11111111-1234-5678-9123-12345678012"], "ComparisonValue": "$.ContactLens.ContactEvaluation.Form.FormId", "Negate": false }, { "Operator": "EQUALS", "Operands": ["s12345678"], "ComparisonValue": "$.ContactLens.ContactEvaluation.Question.QuestionRefId", "Negate":false }, { "Operator": "NumberLessOrEqualTo", "Operands": [5], "ComparisonValue": "$.ContactLens.ContactEvaluation.Question.Answer.Value", "Negate":false } ] }
Parameters that represent a single select answer:
-
Operator - "EQUALS"
-
Operands – An array of string, array length can only be 1. Value is the answer reference ID.
-
ComparisonValue – "$.ContactLens.ContactEvaluation.Question.Answer.ValueRefId"
-
Negate – true/false. If set to true, it means The answer is not equal to the answer reference ID specified in the Operands.
Following is an example for single select question type.
{ "Operator": "AND", "Operands": [ { "Operator": "EQUALS", "Operands": ["11111111-1234-5678-9123-12345678012"], "ComparisonValue": "$.ContactLens.ContactEvaluation.Form.FormId", "Negate": false }, { "Operator": "EQUALS", "Operands": ["q12345678"], "ComparisonValue": "$.ContactLens.ContactEvaluation.Question.QuestionRefId", "Negate":false }, { // for single select question type "Operator": "EQUALS", "Operands": ["o12345678"], "ComparisonValue": "$.ContactLens.ContactEvaluation.Question.Answer.ValueRefId", "Negate":false }, ] }
ContactEvaluation - agent condition
Parameters
-
Operator - "CONTAINS_ANY"
-
Operands – A list of agent IDs.
-
ComparisonValue – "$.ContactLens.ContactEvaluation.Agent.AgentId"
-
Negate – false
ContactEvaluation - queue condition
Parameters
-
Operator - "CONTAINS_ANY"
-
Operands – A list of queue IDs.
-
ComparisonValue – "$.ContactLens.ContactEvaluation.Queue.QueueId"
-
Negate – true/false. If set to true, it means the answer does not equal to the answer reference ID specified in the Operands.
ContactEvaluation - contact attributes condition
Parameters
-
Operator - "EQUALS"
-
Operands – An array of string, array length can only be 1. Value is the contact attribute value.
-
ComparisonValue – "$.ContactLens.ContactEvaluation.ContactAttribute.
YOUR_ATTRIBUTE_KEY
" -
Negate – true/false. If set to true, it means
YOUR_ATTRIBUTE_KEY
does not equal to the attribute value specified in the Operands.