Creating Common Variables

Common variables are designed to enhance searchability and process tracking in Workspace. They are a set of definable variables that can be used across all applications for long-lived processes in a AEM forms environment. Common variables are similar to process variables except that they are not local to a process and hence, its container application.

If you choose to use a use a common variable within a process, the variable will be displayed in Workspace along with variables specific to the process.

For example, if Customer ID was defined as a common variable, this would enable Workspace users to search on tasks that are all related to the same customer, spanning all processes using the Customer ID. Common variables will also appear in Workspace as column headings. You can then filter To- Do and Tracking lists based on common variable values.

  1. In Workbench, click File > Get Application to access the Get Applications panel.

  2. Select Process Manager (common-variables) and click Ok.

  3. In the Applications view, check out Process Manager (common-variables)/1.0 application and open the Process Manager (common-variables) process.

    Note: This process should only be used to define your variables. Do not add any activities to this process.
  4. Create variables with meaningful names and suitable variable types. However, it is recommended that you use simple variable types. For more information, see Creating variables for information.

  5. Check in and deploy the application to complete the creation of common variables.

  6. Any variables you created will now be visible in common data tree in the XPath expression builder.

// Ethnio survey code removed