Workflow creates all Entities twice (Advanced Pack)

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

    #1

    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
    EspoCRM product developer
    • Mar 2014
    • 9616

    #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.

    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...