Opsera’s Metadata Transformer Rules enables you to perform actions on metadata while transforming them in a pipeline workflow.

The types of operations supported are:

Workflow

The workflow entails building a Jenkins job that will be used to create the metadata transformer rule. The text that needs to be searched for and replaced is then defined, successfully configuring an Salesforce Metadata transformer rule. You can directly define the settings of the rule in the workflow phase called "Metadata Transform Step." You can get further details by looking at the related console logs after the pipeline has finished running.

In this Section:

Create Jenkins Job

  1. Login to Opsera and navigate to Operations > Tool Registry.

  2. Click View on the configured Jenkins tool, and click the Jobs tab.

  3. Click+ New Jenkins Job.

  4. In the Create New Jenkins Job popup, enter the following details:

Set up Salesforce Metadata Transformer Rules

  1. Navigate to Operations > Tool Registry and choose a configured Salesforce Metadata configurator tool.

  2. Click Metadata Transformer Rules tab, and then click the +New Salesforce MetaData Transformer Rules.

  3. In the Create New Salesforce MetdaData Transformer Rules popup, enter the following details:

  4. Click Create.
    The metadata transformer rule will be saved.

note

Note

You can perform the Search & Replace with Tag filters. This is applicable for components with XML format. The tag needs to be provided with the hierarchical structure.

Example: For WorkflowAlerts to scan through senderAddress, the tag name must be Workflow.alerts.senderAddress

Note

You can perform the Search & Replace with Tag filters. This is applicable for components with XML format. The tag needs to be provided with the hierarchical structure.

Example: For WorkflowAlerts to scan through senderAddress, the tag name must be Workflow.alerts.senderAddress

Configure Metadata Transform Step in Pipeline

  1. Open the pipeline for which you want to configure metadata transformer rules.

  2. Click the gear icon on the Metadata Transform Step, and define the following fields:

  3. Click Save.
    The metadata transformer rules will be applied to the step.

View Logs

Upon successful running of a Pipeline, you can view the Pipeline logs and Console logs to learn more about the pipeline status and its execution details.