Quantcast
Viewing all articles
Browse latest Browse all 16689

Choose between two fields - how to copy from one to another

I am using Kettle - Spoon 4.1, as offered by BMC (Remedy) Atrium CMDB to write Integrator scripts.

My situation is that I have a department that has split into multiple, location based names. All departments use the 'department' field with a three letter designation.

'department' examples:
ABI
DOW
EGA

The split department (EGA) additionally sets a 'notes' field to the full name.

'notes' examples (when 'department' = "EGA"):
EGA - Philadelphia
EGA - Denver
EGA - Austin

What I need to do is use these extended department names, whether that is by creating a new field or overwriting the 'department' field with the value from 'notes'.

I have a step that switches on 'department' so that it can hop to one step when 'department' = EGA, and another hop for the rest (default).

What is the best method to either copy 'notes' or 'department' to a new field, or to overwrite 'department' with the value in 'notes'? Note that I do not have the 'SetValues' methods in this tool.

Viewing all articles
Browse latest Browse all 16689

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>