Tag an Activity The goal in this example is to use the Run Command activity to restart a MySQL database server. To do this, the activity must use a specific credential tagged for that purpose. Navigate to Orchestration > > Workflow Activity Definitions Select the Run Command activity. In the Workflow Activity Definition form for Run Command, go to the Activity Variables related list and click New. Complete the following fields in the Activity Variables form: Column name: Enter credential_tag. This variable configures Run Command to use the credential tagging functionality and creates a new field called credential_tag on the Run Command activity properties form. Label: Enter a label for the new credential field on the activity form, such as Credential tag. Max length: Limit the length of the tag name. This example uses 40 characters. Click Submit. The new variable appears in the related list of variables for the Run Command activity. Navigate to Orchestration > Credentials. Click the gear icon to personalize the Credentials list and add the Tag column. Using the list editor, create a new tag for the SSH credential that Run Command needs to access the server. Tags have arbitrary names with no formatting restrictions (such as case or spaces). This example uses database_user. To assign multiple tags to a credential, separate the values with a comma. Assign order numbers to each credential. These numbers determine the order in which credentials are applied when multiple credentials have a matching tag or when no credential tag is defined for a Orchestration activity. Navigate to Orchestration > Workflow Editor. Click New. Create a new Orchestration workflow and place the Run Command activity in the flow. The activity properties form appears. Complete the form, and then enter database_user in the new Credential tag field (credential_tag) you created in step 4. This ensures that the Run Command activity has the SSH credentials it needs to restart the MySQL server. Click Submit.