Not equal condition

thank you for helping everyone, I hope everyone smile and be happy always
Goodluck on our career, happy automation everyone

Hi @shanti_18
You are right. It will execute the else block. Check the below explanation for better understanding.

Your condition below:

Not in_EPDSRemotePath.ToUpper.Contains("LOAN")

in_EPDSRemotePath="LOAN".
Explanation of the above syntax:

  1. in_EPDSRemotePath.ToUpper will convert it to “LOAN” (all uppercase).
  2. .Contains("LOAN") will check if the string “LOAN” contains the substring “LOAN.” It does, so the result is True.
  3. Not will then negate the result, so the final result will be False.

In this case, the condition evaluates to False, so the workflow will execute the statements inside the “Else” block.

Hope you helps!!
Regards,

@shanti_18 ,

Yes. It should be the case.

how can i make it go to the then block if my epdsremotepath is not = to LOAN

If you want your condition to execute the further actions in Then Block, Remove Not from that condition:
The condition would be as below:

 in_EPDSRemotePath.ToUpper.Contains("LOAN")

Regards,

As an aside, nesting IFs like this is not recommended. Hard to read, hard to follow. You should use Else If

I will do that thank you

@shanti_18
If you find solution for your query please mark it as solution to close the loop.
Happy Automation
Regards,

I find my own solution and comes up with a great idea, but thank you explaining.

cheers

everyone is correct really appreaciate, learn a lot from this beautiful people

You should post your solution so that others who find your post may be helped. The forum is about sharing solutions.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.