Can you accept this as answer if it helped?
I assume that you already have the Encryption module downloaded from the appstore. Since I used the same expression without any issues but in a different version of the modeler. Also check whether you have the constant in your application, from the error message it seems that the modeler could not find the specified constant.
Thank you very much Radhika
One more question, what do you mean when you say constant??