0

I'm trying out Salesforce's Data Mask feature and in the docs (https://help.salesforce.com/articleView?id=data_mask_considerations.htm&type=5) it mentions that all workflows (and presumably process builders) are deactivated upon a masking run. However I don't see anything about these being re-activated upon completion.

Is this really a manual task that must be done after each data mask job?

1 Answer 1

1

NO, the workflows, process builders and triggers do NOT need to be manually activated. What the documentation is telling you (implicitly) is that the DML required to mask the data (by SFDC) will not cause any side effects via the execution of automation that normally occurs upon DML:

  • Triggers
  • WFR
  • Process Builder
  • Lightning Flow (before update, after update)

In a way, it is similar to the picklist item replace function which doesn't execute any automation on the affected records

5
  • Hmm thanks @cropredy! Must be a bug then as all of our workflows / process builders were left as Inactive when the data mask job failed.
    – McD
    Commented May 15, 2020 at 16:33
  • How did the masking job fail?
    – cropredy
    Commented May 15, 2020 at 17:20
  • First error: Apex heap size too large: 24187971 : Resolved after limiting the number of Objects we masked
    – McD
    Commented May 16, 2020 at 0:24
  • Ah. That would be a limits exception. Sounds like a bug if mask job gets limits exception and doesn't reactivate triggers and PB. You should file a support tix unless it is already a Known Issue
    – cropredy
    Commented May 16, 2020 at 0:54
  • Ticket opened and being worked!
    – McD
    Commented May 22, 2020 at 17:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .