Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

User Import Skipping updates on specific attributes if their value is null in the feed

jmehta
New Contributor
New Contributor

Hello,

I have a requirement in Workday SOAP where person's future hire feed updates the worker position data as of their joining date.

Further SOAP feed is used to fetch data as of current date for current person lifecycle, this feed also captures the future hires in particular interested for is_hire_rescinded flag.

 

We want to ensure the position information updated by pre-hire feed is not overwritten by current person feed. The current person feed will have that attribute is null.

 

How to conditionally exclude an attribute mapping if the attribute value is coming as null ? 

 

"TITLE": "Worker_Data.Employment_Data.Worker_Job_Data.Position_Data.Business_Title",
"COMPANYNAME": "Worker_Data.Organization_Data.Worker_Organization_Data.Organization_Reference.@Descriptor(@type=='Company')",

 

This attributes will be feed by future joiner but will be null/absent in current person feed. Request for syntax for the same

 

Conditional like sample

${if (Worker_Data.Employment_Data.Worker_Job_Data.Position_Data.Business_Title",
"COMPANYNAME != null {

println "TITLE": "Worker_Data.Employment_Data.Worker_Job_Data.Position_Data.Business_Title",

}}

 

1 REPLY 1

rushikeshvartak
All-Star
All-Star

You can manage this logic in preprocessor 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.