Workflow - Duplicate Task

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pmontanez
    Member
    • Dec 2016
    • 81

    Workflow - Duplicate Task

    Hi there,

    I create a workflow that is triggered when an email is sended with a specific custom field. The workflow works but for some reason it creates 2 tasks when triguer. Any Ideas?

    Thanks

    Attached Files
  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hello,
    is there any other workflow or BPM with the create action?

    Comment

    • yuri
      Member
      • Mar 2014
      • 8454

      #3
      Is it logged twice in log panel on the workflow's detail view.
      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

      • pmontanez
        Member
        • Dec 2016
        • 81

        #4
        Hi there,

        No this is the only workflow or BPM that uses the MAIL entity - Like I said the workflow works fine except that it creates a duplicate task every time that is triggered. Any clues where to start? Thanks

        Comment

        • yuri
          Member
          • Mar 2014
          • 8454

          #5
          Is it logged twice in log panel on the workflow's detail view.
          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

          • pmontanez
            Member
            • Dec 2016
            • 81

            #6
            Yes its duplicate in the log panel - see pic - Also I noticed that the attachments (from email) don't pass along to the related table.
            Attached Files

            Comment

            • yuri
              Member
              • Mar 2014
              • 8454

              #7
              You could try to add 2 conditions:

              * Status -> changed;
              * Status -> equals -> Sent
              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

              • yuri
                Member
                • Mar 2014
                • 8454

                #8
                I can't reproduce the issue. I send email from EspoCRM and workflow is triggered once as expected. How do you send your email? Maybe you have some custom code?
                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

                • pmontanez
                  Member
                  • Dec 2016
                  • 81

                  #9
                  Hey yuri The Task works now with the 2 conditions given, but now the email attachement is not sent with the email (Although the SENT email folder shows the clip on the list view) neither is being attached to the newly create task - Can be this issue related with the Worfkow (Advance Package) that im currently runnig? I think im on Version 1.824 ?? Thanks

                  Comment

                  • yuri
                    Member
                    • Mar 2014
                    • 8454

                    #10
                    I don't think it's related with workflow. Did you try to disable (set inactive) workflow?
                    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

                    • vinybarreto
                      Member
                      • Feb 2020
                      • 30

                      #11
                      I have the same problem with workflow that creates an activity for the user.
                      the condition is whenever the designated user is changed then he triggers the New Task creation trigger, however every time the designated user is changed he creates a new activity with the same name as the previous one. I just need this trigger to be triggered on the first assignment, all the others do not need this task to be created again, it only needs to be generated once as set for the trigger to be triggered only the first time

                      is there a way to define how many times the trigger will be triggered per lead?

                      Comment

                      Working...