SAP Knowledge Base Article - Public

3470306 - How to hide field visibility based on Event Reason when adding a concurrent employment

Symptom

We would like to hide some fields under employment details based on the Event Reason when adding a concurrent employment.

How can we fulfill this?

Environment

SAP SuccessFactors Employee Central

Reproducing the Issue

1. You configured an onChange rule under Event Reason like below, but it does not work.

This is because onChange rule does not work for Event Reason when you are adding a new hire.

2. So you configured an onInit rule, however this does not work as well as when adding concurrent employment page opens, Event Reason in blank.

Resolution

We need to configure a onInit rule with a custom concurrent employment hire template which can fulfill this requirement when you are adding a concurrent employment.

In this way, we have a Basic-Data pop-up which can help insert the Event Reason which make the onInit rule get the correct Event Reason Value and set the visibility.

Keywords

Onchange rule for event reason does not work, onInit rule for event reason, event reason retrieves as null, how to set fields visibility based on event reason, Basic Data pop up, custom hire template for concurrent employment , KBA , LOD-SF-EC-CON , Concurrent Employment , How To

Product

SAP SuccessFactors Employee Central all versions

Attachments

Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png
Pasted image.png