Skip to main content

Posts

Showing posts with the label passing id from workflow to apex

How to call apex class from process builder?

As we all know it is not possible to invoke apex class from work flow,for that purpose sfdc lunched new functionality called process builder. Please go through this link. In my previous post i have explained about creation of process builder and updating a field through process builder. http://salesforceworld4u.blogspot.in/2015/04/updating-records-thorough-lightening.html Now this is post is all about calling an apex class from process builder. public class DeleteBrassCaseUtil{    @InvocableMetho d(label='Get Brass Cases Names' description='Returns the list of Brass Cases corresponding to the specified Brass Cases IDs.')   public static void deleteBrassCase(List<Id> BrassCaseIds)     {         List<BRASS_Case__c> brassCases =[SELECT Id,Is_Org_Case_Created__c...