Can someone help me with the process builder. I have a Junction object 'Account related contract' and child object 'Contract'. I have created a process builder on Junction object to update the field 'Active Contract Number' on Account if any Junction object is added through that account. It updates the contract number on Account. But I also want that if another Junction record is added to that Account then 'Active Contract Number' field on account should reflect the number of that contract who is recently updated. Please suggest how to give condition or how to get most recent modified record from contract in process builder. Is there any way to get this record.

Appreciate your help

1 Answer 1


One way that I can think of is by calling apex method.So it will give you flexibility on how you want to query and manipulate your data.

The method must use @InvocableMethod annotation.For more info, you can refer to InvocableMethod Annotation and also here How to class from Process Builder

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .