SAP Knowledge Base Article - Public

3498129 - Onboarding Custom Tasks UI Template Rule - Onboarding

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

  1. Go to the search field and enter Manage Onboarding and Offboarding Tasks.
  2. On the Manage Onboarding and Offboarding Tasks page, select the Task Settings tab.
  3. Locate the task that you want to edit, then select the Edit icon.
  4. In the Custom MDF Object field, select the MDF object for the custom task from the dropdown menu.
  5. Click on F12 to open the network logs.
  6. Select Open Template Editor to open the Custom Task Template Editor.
  7. Get your scope from the field that is being updated ie #/properties/x-question
  8. In the network logs get the "mdfSystemInternalCode": xxxxxxxxx, from the xxxxxxxx?$select=externalCode,externalName
  9. If the field is picklist, in the network logs, get the ''internalId'' = xxxxxxxxx, from the picklistxxxxxxxxx?$select=externalName,externalCode
  10. Go to the field you want hide or show and edit control
  11. Enter the code below:
    {
      "type": "LEAF",
      "scope": "#/properties/x-xxxxxxx,
      "expectedValue": xxxxxxxxx
    }
  12. Apply and close
  13. Test
  14. Save

See Also

Configuring an Attachment Field for Custom Tasks

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