I am creating a job that needs to run a subjob if a specific condition exists between two context variable. Basically, if context.local_user_count >= context.local_page_size, then I need the subjob to get called. This is my first attempt using a tLoop like this. I am newer to Talend and need some help on how to set the parameters for the loop condition. I have tried a few things but nothing has worked. I will attach an image of the job and the tLoop settings.
Re: While condition on tLoop with context variables
I can't see what you loop says... You're incrementing page_number but say "user count side is >= page size"...it sounds a bit back to front... I'd select the code tab in the design window so that you can actually see the while loop that has been constructed. Maybe things will become clearer. Post that piece of code.