Level - 3 Assignment 2 - Generate Yearly Report - Dispatcher | Help needed

I am facing trouble with the issues in running the Dispatcher.
The Robot selects Pages 1,3,5,7,9,11,13 and 15 from the ACME site.
Following are the images of Process file’s Sequences -

dynamicSelector variable value before the “If” condition -
“”

dynamicSelector variable value after the “If” condiction (before ‘On Element Appear’) -
“”

Please help to rectify the issue.

Thank you!

@Anurag_Thakur1

Welcome to the UiPath Community.

I guess TransactionNumber is incrementing two times. Please check it once.

And also change the condition in IF Activity and it’s wrong.

in_TransactionItem.Equals(“1”)

What should be the correct condiction for If activity ?

the correct condition for the IF activity should be

in_TransactionNumber = 1