Is there any way to identify when lead conversion has triggered a process builder workflow and prevent it from doing so?
For example, if I have a PBR functioning when a task is created, I don't want it to run if that task is created during lead conversion.
EDIT:
More context on what's happening... I have a PBR that logs the last activity date on either the lead or contact record. However, I get the following error when the activity is trying to be created during the lead conversion process:
Error Occurred: The flow tried to update these records: 0031N00001M6aLwQAJ. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: . For details, see API Exceptions.---The flow tried to update these records: 0031N00001M6aLwQAJ. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: . For details, see API Exceptions.---The flow tried to update these records: 0031N00001M6aLwQAJ. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: . For details, see API Exceptions.---The flow tried to update these records: 0031N00001M6aLwQAJ. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: . For details, see API Exceptions.---The flow tried to update these records: 0031N00001M6aLwQAJ. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: . For details, see API Exceptions.---The flow tried to update these records: 0031N00001M6aLwQAJ. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: . For details, see API Exceptions.---The flow tried to update these records: 0031N00001M6aLwQAJ. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: . For details, see API Exceptions.---The flow tried to update these records: 0031N00001M6aLwQAJ. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: . For details, see API Exceptions.---The flow tried to update these records: 0031N00001M6aLwQAJ. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: . For details, see API Exceptions.---The flow tried to update these records: 0031N00001M6aLwQAJ. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: . For details, see API Exceptions.---The flow tried to update these records: 0031N00001M6aLwQAJ. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: . For details, see API Exceptions.---The flow tried to update these records: 0031N00001M6aLwQAJ. This error occurred: ALL_OR_NONE_OPERATION_ROLLED_BACK: . For details, see API Exceptions.---The flow tried to update these records: null. This error occurred: DUPLICATE_VALUE: Maximum number of duplicate updates in one batch (12 allowed). Attempt to update Id more than once in this Api call: 0031N00001M6aLw. For details, see API Exceptions.---The flow tried to update these records: null. This error occurred: DUPLICATE_VALUE: Maximum number of duplicate updates in one batch (12 allowed). Attempt to update Id more than once in this Api call: 0031N00001M6aLw. For details, see API Exceptions.
Here's the relevant parts of the PBR:
WhoId
of the Task is changing from a Lead to no longer a Lead?