Skip to main content
Groupe

Official: Salesforce Data Mask

This group is the official discussion forum for customers and partners using Salesforce Data Mask. It's a forum for customers and partners to provide feedback, requirements and share ideas. Customers and partners may also leverage this group to collaborate with each other on best practices. This group is maintained and moderated by a salesforce.com employee(s). The content received in this group falls under the official Safe Harbor. Please also see our official Salesforce Customer Community Terms of Use

Hi All, 

 

Is there a way of increasing the limit of 1 schedule per env for Data masking in Salesforce. We have been told only 1 schedule run is possible per env. Our jobs with multiple objects fail to run second object masking 1st object masking get errors. So only option for schedule run is to create two jobs and get them scheduled daily. 

2 réponses
  1. 16 avr. 2025, 02:19

    How can we get the limit increased as one scheduled job with multiple objects fails and only option for us is to run two jobs for two objects on schedule ? We have signature support access. Is there a process to raise a request to get the limits increased ?

I didn't realise there was an official group so I posted my question elsewhere in the community. I was wondering if any of the experts here could answer?

 

---

 

I am trying to use a relative Date Filter in the Data Mask tool which works in a SOQL Selecy query. Using the Data Mask UI it seems I have to specify a specific date or use IS WITHIN operator which for my use case won't work as it has fixed values in the drop down with the oldest being 1 year and I need the opposite (IS OUTSIDE). My business requirement is after a moving/relative date i.e.

 

GDPR_Latest_Date__c < N_MONTHS_AGO:18

 

How do I do that please?

5 réponses
  1. 13 nov. 2024, 13:04

    Unfortunately @Official: Salesforce Data Mask I tried @Petr Svestka suggestion but it didn't work. Here's the filter I used but when the job completed and I checked it masked all the fields I selected with every record where the record was updated today. I don't know if it uses LastModifiedDate or SystemModstamp but that's irrelevant as both would still produce the same result. It appears that the filter was completely ignored. Is there a way I can confirm this and test before I try again? If it really does ignore the filter then what's the point?

    Unfortunately I tried suggestion but it didn't work.

Hi All

 

We have an existing org pipeline we use across our entire team.  I'm wondering how this will impact our data mask implementation.

 

Prod

Staging - full copy sandbox (1 license)

QA - Developer pro sandbox 

Main Dev - Developer sandbox

Developers/projects - there are multiple developers with their own sandboxes merging changes into Main Dev which is the start of the actual pipeline.  We use DevOps Centre to migrate changes along the pipeline.

 

Here are my questions

 - We only have one full-copy sandbox license.  So I cannot 'create' a new full copy sandbox because that one license is already used.  So how do I implement data mask in that org? If I install data mask in prod and refresh the full-copy sandbox (as opposed to creating a new one) will data mask work?

 - Our developers create/refresh their personal sandboxes from 'Main Dev' - not from Prod.  I assume this is OK as long as data mask was used when Main Dev was created as their sandboxes will be seeded with data that was previously masked when the Main Dev sandbox was created? 

 - Because we are using a pipeline - is there an approach anyone would recommend to roll this out?  It is going to be very disruptive so it would be great to know what others have done.

 

Any help much appreciated.  Also please share any information sources on the web you think would be helpful.

 

Kind regards,

 

Craig

Hi guys,

 

I am facing this issue. I am using Data Mask first time, I had configured it and ran mutliple time still fields are not getting masked. I feel it might be related to some access issue, I am system admin so dont know what else is needed. Kindly help

 

Edit: I had gone through documentation, it says we need Modify All permission but as far as I know, its already there in sys admin profile. Can anyone help

7 réponses
  1. 10 févr. 2024, 12:43

    Where did you create the config, production or the sandbox? Did you refresh the sandbox after creating the config if you did this directly in Production?

Hi All,

 

We are facing issues from within the package with errors as below.

Error Message: "Lookup Filter setup error: There was a problem retrieving information on Lookup Filters (BatchableLFSetup): Web service callout failed: Unable to find apex schema info: 13533"

 

Can someone help us explain the root cause of this? Also, the records are getting masked but what is this error? It is confusing.

Last Ran with Error(s)

 

Regards,

Raj

4 réponses
  1. 30 mars 2023, 20:58

    Hi @Rajendra Singh Nagar, as Eric pointed out, this seems to be an issue tied to permissions with lookup filters. Data Mask does support Person Accounts so it is possible that this is related permissions for a parent object of the object being masked, but we would need to check to be sure. 

     

    If you are able to open a support case and let me know the case number, I can expedite the support process directly to our product team. Thanks! 

Hi guys,

 

I have configured the Data Mask on my sandbox. But everytime I do the refresh on the sandbox, I have to configure Data Mask all over again.  Is there a way to keep the mask's configurations when the refresh is done? 

I need the fields that I configured before the refresh to stay masked. 

 

It takes a lot of work to configure it over and over everytime I do a refresh. 

4 réponses
  1. 26 juil. 2022, 14:38

    As per documentation, it should be available for the clone, and no need to reconfigured. 

    • Create, Edit, or Clone a Data Mask Configuration You can configure the masking process in one of two ways. Configure it in production, then when a sandbox is created or refreshed, the configuration appears in the sandbox. Or, configure the masking process in an existing sandbox.

    https://help.salesforce.com/s/articleView?id=sf.data_mask_overview.htm&type=5

I have been tasked to find the most appropriate product for masking a large and complex Org with millions of records.  SandboxPostCopy is just not an option.

 

Wondering, if anyone here has done a comparison of the available options.

 

Thanks

James

16 réponses
  1. 30 nov. 2022, 15:33

    From and architecture approach comparison there are 3 options 

     

    1. Apps that run in Salesforce core, will always have issues and will be limited to 10m records per day for simple data, so if you have a billion records to anon it will take 100days to work. 

     

    2. Simple apps that target the data via api, they have issues with how they can run as they’re using sow and can only really batch 2000 demo record requests at a time.

     

    3. Apps that use a backup of data transform it and then apply it back at scale, that can take advantage of bulk api calls can see throughout of 100m’s per hour meaning you can scale to the largest orgs. 

     

    If you have large orgs go with solutions that use option 3.

My client's Org has 250 millions+ records spread across (contacts, accounts, cases, leads, usage, billing, quotes, and 15 other objects) that contain personal information. They are looking at options to mask Sandbox after it is refreshed. Being in a regulated industry, they are very security conscious and therefore prefer to go with an on-platform solution or build their own. 

 Anyone has masked such a huge data set? How did you do it? How much time does the masking operation take? Any recommendations in terms of on-platform Vs. off-platform? It would be also helpful if you could also share the implementation timelines?

#Data Masking

4 réponses
  1. 15 oct. 2022, 04:36

    I installed Salesforce sandbox data mask in my sandbox org and it complains about missing a license. We moved on to using post copy class to change the email on contacts. We are a small org with 100 users with not much data. postcopy apex works well for us. If it helps, here is what we used as reference https://www.soliantconsulting.com/blog/salesforce-sandboxpostcopy

     

    Thanks

    Chris

Team, 

I am trying to run a Data mask config and getting A Data Mask execution is already in progress. Abort the process or wait for it to finish to start a new execution.

 

There  is not othe job is running.. 

2 réponses

Hi All,

 

We have recently brought Salesforce Data Mask Add on. We refreshed the sandbox (full copy) and Data Mask package was available in Sandbox. I created a new Mask just for one record (to test) and then ran the job. Everytime I start to run the job, the status shows "Last Run Aborted on <<Date>>".  Then I again, click on "Re-enable Automation" and the status shows Processing 1 of 5 steps completed. After some time the status shows Last Job Ran on <<Date>>. But, I see that nothing has happened on the record. Not sure, if Im missing anything. Can you please help.. 

 

Thanks !!

3 réponses
  1. 5 juil. 2022, 08:16

    Hello All,

     

    Sorry for the delay to respond in here, but finally was able to find the root cause of it and got resolved successfully. The issue was that, I have enabled Session Security Level Required at Login to High Assurance (Profile --> Session Settings). This was blocking the data mask job run and eventually this error. Once, I updated this Session Security Leve Required at Login to None, the issue got resolved and it successfully ran.

     

    Thanks.!! Hope it helps for someone .. :)