I keep running into some minor nuance in my workflow and would be very thankful if someone can point me in the right direction. Appreciate it!
Mike
14 answers
Hi Mike,
To do something like that, there are 2 approaches I can suggest:
1. You'd need to be able to count the number of meetings an account has. If you have a master-detail relationship, that's easy: create a rollup field that counts meetings. Otherwise, you can use a 3rd party tool like DLRS or Rollup Helper.
Once you have this count, use process builder to check the number upon a meeting record creation. Set your First Meeting checkbox to something like :
Account__r.Meeting_Counter__c = 0
(it might be = 1 depending on the tool you use to count)
2. You could create a flow that receives the meeting ID and account ID as input variables. The flow will query for any other meetings on the same account, and if 0 results are returned, mark the meeting as a first. You can launch the flow with process builder as soon as a meeting is created.