- Asset is related to Account (Each Asset has an Account)
- Log is related to Account (Each Log has a Account)
When an Account is updated(a certain field), I want to create a Log record.
If a Log record exists for this Account - Don’t create one.
When an Asset is created I want to create a Log record related to Asset’s Account.
If a Log record exists for this Asset’s account which is being created - Don’t create one.
Here is the flow I’ve created.
When I bulk insert Assets related to same account, it creates multiple Log records.
When I bulk insert Assets related to same account, only one Log record should be created.
I assume this is because Salesforce bulkify flow execution. "Get Records" records element will query at the beginning and it will not find the record which got created in the previous flow interview.
Any of you have solved this kind of issue without code?