Sync different field to AD if field in UKG is empty

Hello. We are looking to populate the Job Title field in AD with the Alt Job Title field from UKG. However, if the Alt Job Title field is empty we’d like to use the Job Title field in UKG instead. Is that possible?

Hello Kevin

Apologies for the late reply.

I would apply two conditional expressions for your chosen field mapping in the following order:

1st Expression:
When
String.IsNullOrWhiteSpace(Employment.AlternateJobTitle)
Then
Job.LongTitle

2nd expression:
When
Default
Then
Employment.AlternateJobTitle

The first expression evaluates the Alternate Job Title field to see if it’s empty. If so, it uses the standard Job Title description to fill in the target value. If the Alternate Job Title is filled in, it is used as default.

I hope this helps.