cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Mandatory fields on Provide Personal Data on Onboarding

svodapally
Explorer
0 Likes
5,063

Hi,

Our requirement is to make national ID details mandatory for Candidates on Provide Personal Data. To achieve this, I have written a business rule which initialize the PrimaryKey to Yes which will add a new line under National ID section. This will make user to enter the details. If he doesn't have details then he can delete the line and proceed further. As most cases, users are made to enter the details as the line is added and National ID field is mandatory on Manage Business Config. Business rule is also set on the same card.

Below are the rules configured on Manage Business Config. It seems to be working on 'Add new hire' but not on Provide Personal Data. I have tried 'OnInt', 'OnSave' & 'Trigger' as well checked the Rule Contexts for Onboarding to 'Yes' as well. But doesn't seem to be working. Appreciate any inputs/ideas.

Business rule to initialize the value

Manage Business Config

Thanks,

Sarika.

Accepted Solutions (0)

Answers (3)

Answers (3)

Angie_Pullano
Active Contributor

Hi Sarika,

Unfortunately, Onboarding does not currently support oninit, onview or onchange business rules. You can only use an on-save rule(s) to throw an error message(s).

KBA: https://launchpad.support.sap.com/#/notes/2992205

Influence Requests:

https://influence.sap.com/sap/ino/#/idea/246699

https://influence.sap.com/sap/ino/#/idea/247762

https://influence.sap.com/sap/ino/#/idea/266221

Best regards,

Angie

Alina
Active Participant
0 Likes

Hello,

Didn`t understand your question. If you mean to make mandatory fields during onboarding process, you should use Onboarding - Settings - Panels. Click on suitable panel, then on the field and set the validator for this field. Also, you can use conditions in this setting.

0 Likes

Hi, thank you for your comment,

This is an Onboarding 1.0 screen right? is there an equivalent in Onboarding 2.0 to make fields mandatory?

Thanks

svodapally
Explorer
0 Likes

Hi Angie,

Thanks a lot for taking time and answering. Really appreciate it.

Error might not work as if someone doesn't have national id then it will not complete the onboarding. We tried warning but as it appears at the end after submit and wont direct the user to National ID which appears at the 1st page. So it is not user end friendly. Hence checking of other ways.

Thanks,

Sarika.