Condition type input comes with duplicate "^"

Vasco Mateus
Tera Contributor

Hello

 

I am facing an issue when trying to create a custom action in flow designer that basically receives 2 inputs:

  1. reference to sn_customerservice_case
  2. conditions

VascoMateus_0-1732013783311.png

 

Then on a script step i evaluate the case with the conditions using GlideFilter.checkRecord().

 

And output a true/false value.

 

All is correctly setup and works, but, the script always returns FALSE even though i tested on a background script and the checkRecord returns TRUE.

 

When debbuging with logs realised that the condition value is coming with dulpicate "^" 

VascoMateus_1-1732014261524.png

And this is the issue because when i do testCondition.replace("^^", "^") than everything works.

 

My question here is: Does anyone know what is happening here ? why is the condition coming with duplicate characters on the flow designer ? is this a servicenow Issue ?

0 REPLIES 0