Check if record exists before creating
Collapse
X
-
Thank you rabii that worked wonders. Have not checked out the BPM module yet, but will make sure to do so. Seems like a powerful tool! -
you can check if an email exit in your workflow trigger using the same expression, like below:
Code:record\exists('Contact', 'emailAddress=', emailAddress);
Hope this helpsLeave a comment:
-
Check if record exists before creating
I am trying to create a contact when email-to-case is happening, but had no luck there. Instead I opted to create a contact when email is received which works great.
But I am not able to find a way to check if the contact already exists.
I am using:
Target entity: Email
Create Record » Contact
Email
Field: From Email Address.lower
Name
Field: From Name
Links
Emails
And i tried to make an expression, but it broke the workflow:
!record\exists(Contact, contactEmail, emailAddress)Tags: None
Leave a comment: