Built something you're proud of? Tell the story. A quick G2 review of App Engine or Build Agent helps other developers see what's possible on ServiceNow. Share your experience.

Transform map query

lmadhurima
Tera Contributor

I have a requirement to insert a new job record when he is a rehire instead of updating the existing job record due to coalesce

1.If a user ID is present in job record table and primary =false ,I have to insert a new job record instead of updating the existing record.

Can someone guide me please?

1 REPLY 1

Harsh_Deep
Giga Sage

Hello @lmadhurima 

 

Then uncheck your coalesce checkbox and check the condition in the run script.

 

if(source.field_name==false)
{then ok}
else{
ignore = true;}

 

Mark Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.