how to change expression return type - defaults to string and cant change it

1
0
-1

Please see the screen shots below. I went nuts over on how to change the return type to boolean from string

iamge1

2

3 http://www.tiikoni.com/tis/view/?id=b41505d

http://www.tiikoni.com/tis/view/?id=f5ff78f http://www.tiikoni.com/tis/view/?id=ae2dd76

Comments

Submitted by Sean McP on Thu, 08/06/2015 - 09:11

Yeah but what have you done - according to the screen shots everything is blank?

Where are you expecting the Boolean?

regards

1 answer

1
0
-1

You can't. A condition is an expression that is True or False. This kind of value is a Boolean. So you can only have an expression that return a boolean.

For example you can stop the loop if a variable is egal to a certain value (myStringVariable.egals("AStringValue")).

EDIT : I'm not awake ... I didn't see that it is the opposite problem ... I think it's a bug. Try to delete your task and recreate it. For me it is Boolean by default.

What version did you use ?

Comments

Submitted by kaykay on Thu, 08/06/2015 - 14:40

there's a bug in the tool. You cant change the default value. But I had to 'play/trick' with it to return a variable of value boolean. then it defaults to boolean. then go back to my script. now, it has boolean as default instead of string and again its greyed out. but i dont care. i wrote my script. but its a mess to figure that out. hopefully someone can benefit from my post. version 6.5. downloaded 7 to see if its fixed and the answer is NO http://www.tiikoni.com/tis/view/?id=5d14a58

finally

Notifications