How to determine that choice field value had been ignored?

LizaS
Tera Contributor

In my import set, I'm transforming the incoming data using Field Maps.

For some choice fields, I have defined the ignore choice action.

In a Transform Script, I want to check if an incoming value was ignored and send a dedicated response to the client that triggered the API.

I think I can achieve it by comparing the source's value to the target's value in an OnAfter script.

For example,

 

if (!target.u_status && source.u_status)

 

However, since I have multiple fields where I defined the action, I want to avoid comparing the values directly.

Is there some event or property that I can check in a Transform Script to determine whether a value was ignored? 

 

5 REPLIES 5

LizaS
Tera Contributor

Any ideas?