Transform Map - Reject choice action

Pintu2
Tera Expert

We have LDAP feed coming from AD and would like to stop the location feed on the User table so I updated the value on the transform map-->Field maps-->Choice action to Reject and updated location of the few users on AD side for testing the records.But still I can see the user records are updated with latest location entries even after Rejecting the choice action on field maps.

 

I'm i missing anything? Can anyone help with this?

 

find_real_file.png

2 REPLIES 2

Naveen Velagapu
Mega Guru

hi Pintu,

Transform map will search for location value sent by LDAP and if there is a matching record in location table then it will update. If there's no matching entry found then based on value in "choice action" field Trasnform map will decide what action to perform.

Create : Create a new record and reference it to location

ignore: ignore the location entry and process other field 

reject : ignores record transformation

 

More information can be found here https://docs.servicenow.com/bundle/paris-platform-administration/page/integrate/ldap/task/t_SetChoiceAction.html

 

For you problem , 

If you dont want location to be updated completely , then remove mapping 

OR 

use source script and return '' always

 

Mark "Helpful / correct answer" if this is useful.

Hi,

how can I log choice action = ignore in transform history ?

Thanks.