Hi hope you can help.
I have a new Entity type called Project. This has a many to many relationship with Contact.
I often create new Projects in script from Opportunities (which also have a many to many relationship with Contact).
When I create these new Projects in BPM I use the built in assignment tools thus:
And this works great, I get the same contacts on the Project as I have on the Opportunity.
I now want to do this differently. On the Account entity I have a filed called "apContact" (the person that pays the bills) which I want to use if it exists.
The pseudo code for what I want to do is:
This poses 2 questions as I see it:
Thanks.
I have a new Entity type called Project. This has a many to many relationship with Contact.
I often create new Projects in script from Opportunities (which also have a many to many relationship with Contact).
When I create these new Projects in BPM I use the built in assignment tools thus:
And this works great, I get the same contacts on the Project as I have on the Opportunity.
I now want to do this differently. On the Account entity I have a filed called "apContact" (the person that pays the bills) which I want to use if it exists.
The pseudo code for what I want to do is:
Code:
if Account.apContact IS NULL then Project.contacts = Opportunity.contacts else Project.contacts = Account.apContact end if
- How do I check to see if the apContact is NULL?
- There is a type mismatch on the 2nd assignment, because Project.contacts is a Link Multiple filed
Thanks.
Comment