Symptom
- Is it possible to use the 'AND' and 'OR' condition in rules in a custom task template?
- When adding an AND or OR type in the condition, an error occurs and it's not possible to save the template.
Environment
SAP SuccessFactors Onboarding
Cause
Defect:
- In theory, these complex conditions are supported, however, the schema validation in the editor will not allow you to enter such criteria.
Resolution
WORKAROUND: No known workaround at this time.
PERMANENT FIX: ECT-267816
- The Engineering Team has introduced a code-fix to update the schema so this type of of complex condition can be used in the custom task editor.
- The code correction is scheduled to be deployed in the next production release on 1H2026 (May 15, 2026).
- NOTE: Roadmap disclaimer applies. Kindly follow this KBA for any changes. Click the 'star' button to mark it as favorites and get notified for changes.
Once the fix has been applied, use the below sample format shared by the Engineering Team:
{
"type": "AND", # options: "AND" | "OR"
"conditions": [
{
"type": "LEAF",
"expectedValue": 20,
"scope": "#/properties/age"
},
{
"type": "LEAF",
"expectedValue": "John",
"scope": "#/properties/name"
}
]
}
Keywords
ECT-267816, Custom Task, Custom Task rule, Condition, NHA, JSONForm, Schema, custom task template editor, New Hire Tasks, Onboarding Tasks, Onboarding, Tasks, OBX , KBA , LOD-SF-OBX-NHA , New Hire Activities (activities, tasks, buddy, equipment) , Bug Filed
Product
SAP SuccessFactors Onboarding all versions
SAP Knowledge Base Article - Public