Symptom
How to configure conditions in UI rule for custom task
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Environment
SAP SuccessFactors Onboarding
Resolution
- Go to the search field and enter Manage Onboarding and Offboarding Tasks.
- On the Manage Onboarding and Offboarding Tasks page, select the Task Settings tab.
- Locate the task that you want to edit, then select the Edit icon.
- In the Custom MDF Object field, select the MDF object for the custom task from the dropdown menu.
- Click on F12 to open the network logs.
- Select Open Template Editor to open the Custom Task Template Editor.
- Get your scope from the field that is being updated ie #/properties/x-question
- In the network logs get the "mdfSystemInternalCode": xxxxxxxxx, from the xxxxxxxx?$select=externalCode,externalName
- If the field is picklist, in the network logs, get the ''internalId'' = xxxxxxxxx, from the picklistxxxxxxxxx?$select=externalName,externalCode
- Go to the field you want hide or show and edit control
- Enter the code below:
{
"type": "LEAF",
"scope": "#/properties/x-xxxxxxx,
"expectedValue": xxxxxxxxx
} - Apply and close
- Test
- Save
See Also
Keywords
custom task, object, apply, close, generic object, picklist, conditions in UI rule for custom task, custom task rule, MDF condition, edit control, custom task template editor , KBA , LOD-SF-OBX-NHA , New Hire Activities (activities, tasks, buddy, equipment) , How To
Product
SAP SuccessFactors Onboarding all versions