link to process variable
To learn how to bind a variable to a form, in the process "Travel request" of the "Getting Started tutorial", I added a process variable that I called "miVariable". I created a task to give a value and I want to present that value in the response form "reviewTravelRequest". What am I doing wrong ?.
I upload a process that demonstrate how to display and update a process variable. The process make use of the
caseId variable available in task forms and use the activityVariable API to get the value. "activityVariable" API actually first look for the variable at step level and if not found escalate at process level.
Note that it is generally a good idea to use business variables over process variables.
Antoine, Thank you very much. Till today I couldn't read your answer. Which is the reason to prefer business variables over process variables? I suppose that business variables are better if I want to save the information, but if I only want to use the varible along the process, I think is prefer to use process variable. It's correct? Thanks another time.
Thank you. That's what I thought. Until now I used a MySQL database to store the data I wanted to keep. The possibility of using the BDM will make development easier.