About this task
You can save a built-in context variable defined in a Job or Route to a new context group, or an existing context group provided that the context variable does not already exist in the group.
In the Context tab view of a Job or Route,
right-click the context variable you want to add to the Repository and select
Add to repository context from the contextual menu to open
the [Repository Content] dialog box.
In the dialog box, do either of the following:
to add your context variable to a new context group, select Create new context group and enter a name for the new context group in the Group Name field, and then click OK.
to add your context variable to an existing context group, select the context group and click OK.
When adding a built-in context variable to an existing context group, make sure that the variable does not already exist in the context group.In this example, add the context variable password defined in a Job to a new context group named DB_login.The context variable is added to the Repository context group of your choice, along with the defined built-in contexts, and it appears as a Repository-stored context variable in the Contexts tab view.