Problems with envisalink

I have been using disarm and arm. Disarm uses my code in the configuration file. I can use the key press but the problem with that is if it us out of the sequence I am trying to achieve. It may set the alarm instead of disarm… I have tried adding the code to the automation . But no go, I get special close or my code on disarm.

I have also tried data code and then the number and no go on that either.