Unable to access data from action class on VM file


I have created web-item and configured action class, after doExecute() completes request going to sucess.vm file.

my issue is, i am unable to access data on VM file from action class, i tried following steps but not heped

  1. created private variable in action class
  2. created setter/getter method for the varible
  3. in doExecute() method I have set value to the variable using setter method
  4. on VM i tried to accessed variable with get method and also tried directly $variable but it displaying as it is.

not sure what i did wrong :frowning:

Can you post code snippets please?

@daniel thanks for your response, i did some mistake in my code and figured it out when i paste my code here to send you :slight_smile: