Last active
January 25, 2017 20:12
-
-
Save AlexIsMaking/c776ab0998710555650d7a04ab50b50c to your computer and use it in GitHub Desktop.
PUBLIC - for this Idea https://success.salesforce.com/ideaView?id=08730000000DqGRAA0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ProcessBuilderNoAction { | |
/** | |
* Explanation: This method will be invoked from the Process Builder when the Salesforce admin | |
* does not want to execute any actions. | |
* | |
* Once this idea is implemented https://success.salesforce.com/ideaView?id=08730000000DqGRAA0 | |
* this code will no longer be needed | |
**/ | |
@InvocableMethod | |
public static void DoNothing() {} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@isTest | |
public class ProcessBuilderNoActionTest { | |
static testMethod void executeCode() { | |
ProcessBuilderNoAction.DoNothing(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment