Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
VijayTalend
Contributor
Contributor

Heirarchical map - FieldOutput with counter value

Hi,

 

I have a target field whose output should be based on counter. The field value should be - A000"Counter"

 

If the map executes first time and file is generated , then this segment value should be A0001. Later A0002,A0003 etc and so on.

 

How can we achieve this.

 

Regards

Labels (2)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@VijayTalend , the counter value have to be context parameter,since you need to read from a file and need to increase counter once the job flow completed successfully using on subjob ok and the you can do concatenation of hat counter with something in your mapping. 

View solution in original post

2 Replies
manodwhb
Champion II
Champion II

@VijayTalend , the counter value have to be context parameter,since you need to read from a file and need to increase counter once the job flow completed successfully using on subjob ok and the you can do concatenation of hat counter with something in your mapping. 

VijayTalend
Contributor
Contributor
Author

Thanks for your reply.

 

This solution is having dependency on file.

 

Do we have any other solution where we do not maintain any local file or any file and Talend server keeps counter count itself for every map.