Increment a variable while it is being passed as an argument through invoke function

Is there any way to increment a variable while it is being passed as an argument through invoke function

Can you please explain your scenario in detail?

A Argument (StepNumber) which is part of a reusable invoke Sequence . i am trying to pass a variable (StepNo) to increment after every iteration .Currently i am using Assign to externally increment it . Is there anyway to automatically increment the variable