In addition, you can create a context variable in the Settings window of an element in the process graphic model, if it needs this variable to specify/store its properties. Also, you can add a variable in the Settings window of instance statuses.
For example, a variable created on the Common tab of a swimlane settings window will specify/store the swimlane's executor.
There are two ways to create a variable from the Context tab of the process page (Fig. 1):
click Add in the toolbar,
select Add Property in the context menu.
Fig. 1. Creating a context variable with a toolbar control button or from the context menu.
When you create a variable, the context variable page opens. On this page, you need to fill in all the settings:
You can copy a variable in the context of a single process, or in between different processes. To copy an existing context variable, right-click on it. In the context menu, click Copy (Fig. 2).
Fig. 2. Copying a context variable from the context menu.
Go to the Context tab of the process where you want to use the copied variable. Right-click in the list of variables and select Paste (Fig. 3). Copies appear at the end of the list. If the list of the target process already has a variable with the same name, index number is added to the name of the copy. The type, description and properties of a copied variable stay the same.
Fig. 3. Pasting a context variable from the context menu.