I have this process which will track the # of completed file and # of error file. I am using the ReFramework with Queue. I put this process in PROCESS.XAML but my counter is broken
Assign goodFileCount = 0
Assign badFileCount = 0
If good, goodFileCount = goodFileCount +1
If bad, badFileCount = badFileCount + 1
And then after all transactions are proceeded, I will output this 2 numbers in END PROCESS.
However in this case, for each transaction, it will go through this process again and reset my counter when I put these in PROCESS.XAML…
Each file is a transaction
Question is how can I track the count and not having it to reset my counter… should I put the counters in the INIT? what’s the best approach?
Put these counters in Main.XAML and set default value to zero.
In Process.XAML, Create two IN/OUT arguments for the counters.
In the invoked workflow of process.xaml, import arguments and assign the arguments to the counters created in the Main.XAML.
And again please pass these counters as IN argument in END Process.