Append a integer counter to the end of process variable name that execute in loop

I have a process variable with name inspectionResult_PassFail that runs in loop its result variable name of a script task that runs n number of time in loop.

I want to append a counter 1,2,3, to it for each iteration.
I have initialized this variable and I am also doign proper incrementation. however I am not sure how add append it to process variable name.is this possible and how shall we do this?

Your FEEL expression will be something like this:

“inspectionResult_PassFail” + “-” + string(counter)

Where counter is the number you want to append (1, 2, 3…)

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.