Skip to content

Instantly share code, notes, and snippets.

@AlexIsMaking
Last active January 25, 2017 20:12
Show Gist options
  • Save AlexIsMaking/c776ab0998710555650d7a04ab50b50c to your computer and use it in GitHub Desktop.
Save AlexIsMaking/c776ab0998710555650d7a04ab50b50c to your computer and use it in GitHub Desktop.
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() {}
}
@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