Highlighted
Super Contributor.
Super Contributor.
505 views

Counter - reset "index"

Jump to solution

Hi.

 

Is it possible to reset "index" of conter (Utility Operations\Loop\Counter) that it could count from beginning ?

 

I mean for example in this example from screen. It counts several times in "red" loop, but when it finish and went out to "blue" loop and agin in "red" it will count from beginning.

 

Thanks for any info.

 

WD

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.. Absent Member..
Absent Member..

The operation has a "Reset" input; set this to inherit from a flow variable which starts at (and is set to) False on the first run and while it is processing. When each component has finished you set the reset to True and it will start the count again when it hits the object.

 

This is described in the description of the object.

View solution in original post

0 Likes
2 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

The operation has a "Reset" input; set this to inherit from a flow variable which starts at (and is set to) False on the first run and while it is processing. When each component has finished you set the reset to True and it will start the count again when it hits the object.

 

This is described in the description of the object.

View solution in original post

0 Likes
Highlighted
Super Contributor.
Super Contributor.

Description was quite ok but working with counter - not.

ok so conlusion is

I need to add "value operation" set reset to "false" after it pass "counter" and count several times, than "value operation" set reset to "true" to start count again for the beginning and "value operation" set reset to "false"just after is pass the counter.

 

I need to dev it now.

thx

 

WD

 

 

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.