There can only be one key variable in the context of a process. In the list of variables it is depicted with the icon. Only a String type variable can be selected as the key variable.
Fig. 1. List of context variables of a process.
If you want to select a variable as the key variable, check the "is a name" box when creating or editing the variable (Fig. 2).