How to Pass Index value to Field Renamer Stage instead of source field name


I’m trying to automate our data restatement process. Based on the source field we are changing it to generic field as field1,field2,field3…..fieldN. But if we use Field Renamer stage it is mandatorily asking the exact source field name. Will it be possible to pass the index value instead of Source Field Name.

 

Please let me know, if you need any further information on this. 


2 replies

Userlevel 5
Badge +1

@ramkumar_bvr 

Can you please elaborate your questions.

I need to know the requirement for your use case so I can give a try on it.

Userlevel 5
Badge +1

@ramkumar_bvr 

If you want to rename the field name , then you have to use the scripting processor(eg Jython,Groovy or java script)  in SDC.

 

Thanks & Regards

Bikram_

Reply