Workflow creates all Entities twice (Advanced Pack)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lucakuehne
    Senior Member
    • Feb 2016
    • 195

    Workflow creates all Entities twice (Advanced Pack)

    Hi!

    I created a workflow: Whenever I send a mail with the subject "XYZ" I want to create a call... Now this call is getting created two times... This is a bug for sure..
    Last edited by lucakuehne; 04-06-2016, 12:21 PM.
  • yuri
    Member
    • Mar 2014
    • 8511

    #2
    Did you set trigger as After Record Saved? Email is saved twice during process of sending.

    You need to add two conditions:
    1) status > changed
    2) status > equals Sent

    Because first email gets saved as Draft and after sending it gets saved as Sent. Here are two save actions.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • lucakuehne
      Senior Member
      • Feb 2016
      • 195

      #3
      Originally posted by yurikuzn
      You need to add two conditions:
      1) status > changed
      2) status > equals Sent
      This did the trick! Thank you!

      Comment

      Working...