Hi @nknareshkumar21 !
I have moved your post from 'Using Connectors' to 'Power Automate Desktop' since this is related to PAD.
As per the error in second image, A and B are undeclared variables. Hence that error will show. You can use 'Set Variable' actions to initialize the variables A and B and then use it in the 'If' condition action. This is solution for second image. The first image I am not sure how it is connected to the second image.
Also as I can see from the 2 images, the first one is that you are using the Power Fx (Preview) option and the second image is without that. Could you elaborate more on what is your goal you are trying to achieve here? It would be much helpful to solve your question.