Hello everyone,
I have two tables that are linked in a 1:N relationship, a custom table, and a contacts entity. (One gift can be assigned to many contacts)
So in the custom table, I have the lookup field, and in the contacts, I have the sub-grid that will show all the associated gifts for a specific contact.
The workflow will be triggered from a customer journey and I would like to assign a gift for a contact based on a condition.
I have started by creating an on-demand workflow and implemented the below until now:
1. I chose the custom table as the target entity.
2. I added a condition that checks for the contacts that have birthdays on a specific date.
3. I am still struggling with, how to update the Lookup column to assign the gift for the contacts.
For example, Contact A and Contact B should be assigned with Gift A. (Gift A record exist in my custom table)
Is there anything wrong with my relationship type between the two tables?
I want to keep this process simple as possible to achieve this requirement.
Can please someone provide a sample example on how to perform this update to the contacts to assign the gifts by using Dynamics 365 on-demand workflow?
Any help is highly appreciated.
Thank you!