SSH Action - Result Variable & Execute Condition

I have a requirement like below

1. SSH Open Connection

2. SSH Execute Command - Result Will be Stored in the Variable

3. SSH Execute Command - Will check the above Variable in the Execute Condition.

Like this it should execute the command. Basically I need to execute the SSH command based on the output of the previous commands.

For few commands, Result has some value, there no issues. For few commands Result is empty, which means it has executed successfully.

So I tried with IsNull & IsBlank & = "" in the execute condition using VB Script for empty string, but all these conditions fails

Can you give me some examples to check the result variable is empty or not in VBScript or Javascript.

 

 

 

 

 

 

 

Please do not post the same questions to support email and forums, it will not result in faster replies, it often just ends up with multiple staff investigating and responding to the same issue, ie a waste of resources.

Reponded via email.