Choice action ignore in transform map not working

Vee Jay Recana
Mega Guru

Hi, I'm currently working with a transform map. I have field mappings which target fields are choice field type. I used scripting and direct mapping (field to field). Upon transforming, it still pushes the incorrect value to the choice field. For example, OS field has pre-defined selections. On my test data, I input "test" in the OS column on the file. Since choice action is ignore, it should leave the field as blank or should create new choices on the field, right? But currently, it is creating choices.

Anyone encounters this?

VeeJayRecana_0-1754466363600.pngVeeJayRecana_1-1754466401190.png

 

8 REPLIES 8

JackieZhang
Tera Contributor

please share the labels and values of your choice list 

For colo, it's just Yes or No

 

JackieZhang
Tera Contributor

you can try use return '' for you code. 

Yes, it's working but what I wanted to know is why it's not ignoring the invalid input from the data.