Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

update attributes with other existing attributes

avatar
Contributor

my xml configuration file is as below.

<configuration verbose="false" debugMode="false"> 
	<dataFlows> 
		<dataFlow> 
			<properties> 
				<dept>salary</dept>
				<version>1.0</version>
			</properties> 
			<to>
				<path>d_${dept}/${version}/csv</path> 
			</to> 
		</dataFlow> 
	</dataFlows> 
</configuration>

from LookupAttributes (with XMLFileLookupService), I am able to extract attributes like dept, version and path like below.

dept: salary

version: 1.0

path: d_${dept}/${version}/csv

I have tried to use updateAttribute and create new attribute called

to-path: ${path}

but to-path is also giving value as d_${dept}/${version}/csv

Can anyone help me to get to-path as d_salary/1.0/csv?

1 ACCEPTED SOLUTION
1 REPLY 1

avatar