Example of forms to display and update a text process variable
Generally it is recommended to use business variables instead of process variables.
By default only users with administrator profile are allowed to access process variables.
You can change such behavior by customizing dynamic-permissions-checks.properties. Refer to REST API authorization documentation for more information.