Question

Accessing iteration coutn parameter? is it possible?


Badge +3
Hi all,

 

 

Is above question possible?

 

 

I try to use a parameterfetcher like this:

 

 

@Value($Iterationcountattirubte)

 

but it is always missing, at each itereation.

 

 

Can this be done using python or tcl (like some GetMacroValue) or something. Or is it simply not possible?

 

 

The logger seems to report the count, so should it therefore not be accesible?

2 replies

Userlevel 2
Badge +17
Gio, how about using an AttributeCreator instead of the ParameterFetcher?

 

_iterationcount = @Value($(Iterationcountattribute))
Badge +3
Hi Takashi,

 

 

It apppeared i made a error on passing a attribute trough to a doubly layered custom transformer.

 

A blocking transformer within a custom transformer, to get a attribute linked to a parameter.

 

 

When i finaly saw my mistake, i was able to acces the iteration count within the blocking transformer.

 

 

Thanks.

 

 

 

Reply