You are on page 1of 2

14/04/2022, 12:11 Plugin Lifecycle - Application Solutions

Plugin Lifecycle

The Plugin has 3 stages of operation:

Setup

In the setup stage, the plugin prepares the data necessary to perform its work.

Specifically the plugin performs following:

1. Create a base working directory using a random UUID string at location /var/delphix/masking/user_home/ . This directory is unique to each execution of a given
masking job. For example, /var/delphix/masking/user_home/4f3f96dd-810f-46ab-88a7-3a6a83b29af2 .

2. Retrieve table names from the ruleset of the current masking job.

3. Perform FlowDefition , ApexTigger and CustomField processing for each table name.

4. Dynamically create package.xml to be used later.

Pre-Task

In the pre-task stage, the plugin disables the metadata packages on the tables that are being masked by a masking job.
This stage grooms the table(s) for data
masking.

Specifically the plugin performs following:

1. Perform Metadata Retrieval using package.xml

2. Perform Metadata Deploy without any modification to check if Metadata configuration retrieved from Salesforce instance has any issues or not.

3. Perform XML modification to disable packages and then perform Metadata Deploy:

File Type Parent Node Node Value

Triggers ApexTrigger status InActive

Workflows rules active false

Validation Rules validationRules active false

Feed History fields trackFeedHistory false

Field History fields trackHistory false

Process Builders FlowDefinition activeVersionNumber 0

Post-Task

In the post-task stage, the plugin enables the metadata packages that were disabled in the pre-task stage.

Specifically the plugin performs following:

1. Perform Metadata Deploy to enable Metadata packages that were disables in Pre-Task.

2. Perform cleanup of the base working directory

https://application-solutions.delphix.com/Select_Connector_for_Salesforce/Masking/Package_Manager/Plugin_Lifecycle/ 1/2
14/04/2022, 12:11 Plugin Lifecycle - Application Solutions

https://application-solutions.delphix.com/Select_Connector_for_Salesforce/Masking/Package_Manager/Plugin_Lifecycle/ 2/2

You might also like