I am trying to use an integer variable from my global variable list in a transition in SFC. However when I try to select the variable with the input assistant I only can select the boolean variables. Anybody a solution?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your support so far. However I can use integer in a transition. The problem I have got is that I cannot pick them from my global variable list.
I can select them in any other language but when I use SFC and want to select a integer in a transition the input assistent only shows me the bool variables.
Any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am trying to use an integer variable from my global variable list in a transition in SFC. However when I try to select the variable with the input assistant I only can select the boolean variables. Anybody a solution?
Hi
Do:
IntegerVariable=1
I understand that the result of the equation must be boolean. But I can not select the integervariable. So I can not make any operation with it.
You can type the code in the text
Box.
You can also put an method returning bool
Dear Joseph,
Thanks for your support so far. However I can use integer in a transition. The problem I have got is that I cannot pick them from my global variable list.
I can select them in any other language but when I use SFC and want to select a integer in a transition the input assistent only shows me the bool variables.
Any ideas?
Hi Marcel.
You can not select an integer because when you use an integer as transition condition you are not using an integer, you are using an expresion.
There is not diference between intVar=2 and the other intVar1=intVar2 or intVar1>intVar5
You can not select an expression because the expreasion does not exist when you make the selection.