Just set for the Iteration Path @fieldValue=System.IterationPath it should work perfectly to solve your to target the macro to set the iteration to @CurrentIteration
@fieldValue=System.IterationPath
@CurrentIteration