In our Dynamics 365 instance, we've got a custom entity called Activity entry
which is associated with out of box Project
entity. These 2 entities are associated with a N:N relationship.
Hence, each project can have multiple entities associated with it.
Problem:
Get a total count of
Activity entry
entities when they're associated to theProject
entity such that when
- an
Activity entry
is associated with aProject
entity, increment the activities count- an
Activity entry
is disassociated with aProject
entity, decrement the activities count
What we've tried so far?
We've tried to implement a workflow process to get this thing, but couldn't understand this association/dis-association aspect