Ask Your Question

How can I rename fields using Jython?

asked 2019-09-13 07:33:51 -0500

anonymous user


updated 2019-09-13 14:45:06 -0500

jeff gravatar image

How to achieve similar functionality in Jython Evaluator Stage which was done in

edit retag flag offensive close merge delete


You should be able to just translate that Groovy code to Jython. Where are you getting stuck? Can you post your code?

metadaddy gravatar imagemetadaddy ( 2019-09-13 11:52:51 -0500 )edit

Also, what rename logic are you trying to achieve? It may not even be necessary to use scripting for it.

jeff gravatar imagejeff ( 2019-09-13 14:46:52 -0500 )edit

@meta notsure how to achieve similarly in jython

Vss@2019 gravatar imageVss@2019 ( 2019-09-13 20:19:14 -0500 )edit

@jeff agreed.. but if i want to achieve multiple replace with in single stage it might not be possible due to that reason i am looking for preferrably jython

Vss@2019 gravatar imageVss@2019 ( 2019-09-13 20:22:38 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2019-09-14 14:06:57 -0500

iamontheinet gravatar image


Thoroughly refer to following docs before going the scripting route. And note that even in the Q&A link you referred to (for Groovy script) there's a note from @jeff suggesting that the same thing can now be accomplished using Field Mapper.

Cheers, Dash

edit flag offensive delete link more


Thanks iam

Vss@2019 gravatar imageVss@2019 ( 2019-09-25 03:14:14 -0500 )edit
Login/Signup to Answer

Question Tools



Asked: 2019-09-13 07:33:51 -0500

Seen: 178 times

Last updated: Sep 14 '19