function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

I need to call Invokable method from Process builder

I have created a PB where i am using Task object where i am validatiing a task(let suppose Task XYZ i am creating and Status = completed) so once that task status is completed i need to update few fileds on addess which is associated with this task(In task and address we have accountid field common) using these accountid I need to create a method and invoke via process builder.

Can someone help me on that
ShivankurShivankur (Salesforce Developers) 
Hi Amit,

Please check out the implementation done around similar business requirement but with different object on below link:

You can modify the same code to fit with Task object and update the address field based on account id.Most of the logic is already written, you will just need small modification with it.

Hope above information helps. Please mark as Best Answer so that it can help others in future.