I'm sorry, my English is very poor , relying on machine translation。
Here is the problem:
FSM can not put their variable input template.
Enter the constant, templates variables are assigned correctly.
Input variables , the input is always the initial value of the variable , Even though this variable has been set.