cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

[TWX Flow 9.0.2] - Boolean Input for Flow Actions

Highlighted
Granite

[TWX Flow 9.0.2] - Boolean Input for Flow Actions

Hi,

I try to execute a Thingworx service (Action "Service Execute") with a boolean input value in a Flow. The Boolean input parameter for the executed action is given from the input parameter (also Boolean) from the Flow itself.

 

The issue is that I cannot bind the Input params (oder params from other actions) to the Boolean input (like I could with any other input type like a String). I only can choose between a fixed true or false; see attached image.

There is a option to not use the "Form" input a apply a JSON, but that does not work either. Because my second input variable (which is a String) is getting ignored somehow.

 

(i.e. {"BoolVar":{{$Service.BoolInput}},"order":{{$Service.orderNo}}} )

 

DanZ_0-1603365972671.png

I don't like workarounds like:

- Duplicate the action (one with "true", the other with the "false" input)

- Change the input variable of the Thingworx service from Boolean to String

because this is a fairly simply use case and it just would make things more complicated (or harder to understand for third parties) as they are.

 

Is this a bug? Or is there a reason why I can't bind Boolean Inputs for the "Service Execute" Action?

2 REPLIES 2
Highlighted

Re: [TWX Flow 9.0.2] - Boolean Input for Flow Actions

Hi DanZ,

 

Looks like a bug i will dig in if there is a reason why this is disabled.

 

Thank you,

Gautham

Highlighted

Re: [TWX Flow 9.0.2] - Boolean Input for Flow Actions

Hi DanZ,

 

I can confirm it is working that way.

I will find the reason why the boolean input is getting ignored.

In case you want this functionality you can open a ticket with us.

 

Thank you,

Gautham

Announcements

Thingworx Navigate content has a new home! Click here to access the new Thingworx Navigate forum!