Conditional statement error while evaluating a boolean expression

Good day,

I have built a pipeline for monitoring purpose in our company . I got stuck while evaluating a boolean expression . On validating the output is obtained as expected . While running we don’t get the expected result. My simple conditional statement is shown below.


While validating my snap we get the result as HCP and HCA accordingly whereas when running I get the result only as HCA .

Validated Output:

Actual Output:

Screenshot doesn’t show that information. When you validate only specified Document preview count will be shown. The input screenshot doesn’t match the o/p.