Hello briliant minds!
My loop keeps bringing to me values from last iteration.
In my loop it is downloading a PDF from the email and keeps with that PDF forever, even if I remove it from the folder. It keeps downloading new PDF but processes only the first one used.
So, mail idea is try to set the default value from my ‘System.Collections.Generic.List`1[System.Net.Mail.MailMessage]’ variable to 0 before it goes to the inbox again
like:
This is possible?? Thank you
ppr
(Peter Preuss)
August 13, 2021, 9:46am
2
please share some more details from your implementation (screenshots), thanks
1 Like
Hello dear @ppr
This is my schema
Actually i found this code to reset that variable
new List(Of System.Net.Mail.MailMessage)
But there is no way to clear the old loop value, it remains with the same pdf forever. But keeps downloading new ones
ppr
(Peter Preuss)
August 13, 2021, 10:08am
4
we like to avoid Flowcharts if it can be done within sequences with the same functionality, as we can work and model faster (less expand clicks to do)
Maybe a pattern (simplified for demo purpose) as following will help:
1 Like
Hello @ppr , Thank you for replying
It still with same behavior
I have a similar expression that returns a boolean value before i pass your expression
There is any problem to have both?
This is very frustrating, the program can do 10 loops with the same PDF but still downloading new ones.
ppr
(Peter Preuss)
August 13, 2021, 11:52am
6
describe your issue different from top to bottom
refered to the for each approach with filtered MailMessage (Screenshot from above)
get emails - Working?
iterate over the emails - Working
save attachment - how is it done / implemented
desscribe next steps / what to do next?
Thanks, this will help us to locate the issue and give some recommendations
1 Like
system
(system)
Closed
August 16, 2021, 11:52am
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.