( Flow Designer, Action Designer ) Problem with output variables True/False ?

ericlung
Tera Contributor

Hello ,

 

I have an problem when after my test script in my custom action to convert a variable which is a boolean into the outputs variable table ?  How to do it ? 

 

Screenshot with code:

ericlung_0-1686905777972.png

ericlung_1-1686905797371.png

 

ericlung_2-1686905815560.png

 

ericlung_3-1686905831541.png

 

screenshot with the test result:

ericlung_4-1686905924671.png

 

1 ACCEPTED SOLUTION

HarukaAbe
Tera Expert

Hi ericlung,

Is the problem you are facing that the value of output is false even when true is expected?

If so, I ran into the same problem.
I solved the problem by passing 1 or 0 to the script step Output, instead of true or false.

In your case, rewriting the "newbool" and "rembool" values in the script to 1 or 0 might work.

View solution in original post

1 REPLY 1

HarukaAbe
Tera Expert

Hi ericlung,

Is the problem you are facing that the value of output is false even when true is expected?

If so, I ran into the same problem.
I solved the problem by passing 1 or 0 to the script step Output, instead of true or false.

In your case, rewriting the "newbool" and "rembool" values in the script to 1 or 0 might work.