Workflow - action not working properly

Hello all ,
I have been working on Workflows currently , while performing compare string operator it , but it always end ups in false value in either test cases .
Does anyone have any idea on it ?

Hi @SanchoDavid35 ,
I have also been facing the similar issue

The operator always results in negative value .
Kindly refer to this link , they said that they will be raising a ticket for that issue

@colin_mckibbenbaby any idea on this ?

1 Like

Will see to it thanks @sisvanthkumar

Hi @SanchoDavid35 and @sisvanthkumar ,

I am assuming that, you are using “contains” operator inside “compare strings”.

Yes, I too faced the same issue. But it is resolved by replacing it by “Verify Data Type”. As, compare strings is to make comparission between two strings.

Also, take a look at the below post, you may get an idea:

Thanks!

3 Likes

Hi @GOKUL_ANANTH_M ,
FYI i have been using equals operator within the compare string

I see that the JSON Path value returns an array instead of string . That may be the problem .
Correct me if i am wrong .

Thanks!!

1 Like

Hi @sisvanthkumar ,

yeah, it may be.

See the above attachement, I am getting the string value and comparing it with another. This is working fine.

So, I suggest you to check the values which are returned by $.defineVariable.newValue and oldValue.

Thanks!

Sure will check on it @GOKUL_ANANTH_M

1 Like

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