Do While - sum the number check the condition

Hi,
How can we store value to a variable and keep increasing with the value get from other workflow file.

My scenario - Int_count_tag have some int value like 2000, and in the condition I am getting int value in In_Value_Count, I have to keep the value and sum it every time and keep adding (like in fust iteration the value receive is 100 in second its 300 and so on) and check the condition, I want to stop the loop was the value matched.

Hope below screen with help you understand my query.

image

Hello @indrajit.shah , Check one of the following Expression,

int_Count_tag>InValue_Count

try it, if not okay then try below one

int_Count_tag<InValue_Count

Thank you @Gokul_Jayakumar , but
That’s not the problem is, where and how do I store the numbers and keep adding and keeping the historical data as well.

I know what to put condition but I don’t get to understand on how do I store the number and keep adding and keeping the historical so once the next number will come will add to the existing and do the condition checking.

like on 1st run the variable In_Value_Count will get value (let say 100) from some workflow and it will check the condition in Do While, in second same thing will happen (lets say the value is 300) but this time in condition the value of the variable should be the previous value + new value and it will keep getting the value and it will sum it and chek in condition against the Int_Count_tag.

Did you get my point?

@indrajit.shah , From my understanding, You have to sum the data while looping,
Refer to this image you may get some idea.
IntValue is Integer


image

@indrajit.shah You can Replace It with another variable like IntDynamic which should be Integer variable type.