How to change payment from Credit Card to Cash account, and vice versa

Well, I tried hard to get working this, I followed this related post: Help Please : 2nd action on Rule not working

But still can’t, I explain:
1-I created one automation command to transfer from Cash to Credit Card
2 I created 2 actions:

  • a)Transfer from Cash to Auxiliar Account
  • b)Transfer from Auxiliar Account to Credit Card
    3-I created 2 rules:
    a) Constraint to automation command and prompt for transfer amount
    b)Constraint to automation command and [:CommandValue] to get the value entered in the prompt of the first rule.

The problem is that I can’t get to pass the value of the prompt to the second rule, I tried [:amount] and [:CommandValue] but it doesn’t work, the first transaction works good, for example if I entered 900.53, Cash credits 900.53 and auxiliar debits 900.53. But for the second transaction, Auxiliar Credits 277.00, and Credit Card debits 277.00. What am I doing wrong?

Screenshots: