Advanced Pack: Flowchart

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Sloff
    Member
    • Feb 2018
    • 47

    Advanced Pack: Flowchart

    Hi

    I created a basic flowchart that has a "Send Message Task". The flowchart works fine, until it reaches the task and then stays on pending. It doesn't send the email, and it also doesn't give any indication of an error
  • Sloff
    Member
    • Feb 2018
    • 47

    #2
    As a side note, sending emails from Workflows work without an issue

    Comment

    • yuri
      Member
      • Mar 2014
      • 8438

      #3
      Hi,

      What version of advanced pack do you use? Can you provide what parameters your Send Message Task has? Thanks.
      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
        • 8438

        #4
        Also please check whether you have Process Pending Flows scheduled job running (Administration > Scheduled Jobs). Usually Pending Flow Node is processed in 1-2 minutes.

        Also please check whether you have any errors in data/log.
        Last edited by yuri; 03-03-2018, 07:27 AM.
        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

        • Sloff
          Member
          • Feb 2018
          • 47

          #5
          Hi

          I'm using version 1.30.7

          I've attached a screenshot of the setting provided.

          Here are the logs:

          [2018-03-03 05:11:02] Espo.ERROR: Uncaught Exception TypeError: "Argument 2 passed to Espo\Modules\Advanced\Core\Workflow\Helper::getEma ilAddressesForEntity() must be of the type array, null given, called in /var/www/example.com/public_html/application/Espo/Modules/Advanced/Services/Workflow.php on line 344" at /var/www/example.com/public_html/application/Espo/Modules/Advanced/Core/Workflow/Helper.php line 148 {"exception":"[object] (TypeError(code: 0): Argument 2 passed to Espo\\Modules\\Advanced\\Core\\Workflow\\Helper::g etEmailAddressesForEntity() must be of the type array, null given, called in /var/www/example.com/public_html/application/Espo/Modules/Advanced/Services/Workflow.php on line 344 at /var/www/example.com/public_html/application/Espo/Modules/Advanced/Core/Workflow/Helper.php:148)"} []
          [2018-03-03 05:33:01] Espo.ERROR: Uncaught Exception TypeError: "Argument 2 passed to Espo\Modules\Advanced\Core\Workflow\Helper::getEma ilAddressesForEntity() must be of the type array, null given, called in /var/www/example.com/public_html/application/Espo/Modules/Advanced/Services/Workflow.php on line 344" at /var/www/example.com/public_html/application/Espo/Modules/Advanced/Core/Workflow/Helper.php line 148 {"exception":"[object] (TypeError(code: 0): Argument 2 passed to Espo\\Modules\\Advanced\\Core\\Workflow\\Helper::g etEmailAddressesForEntity() must be of the type array, null given, called in /var/www/example.com/public_html/application/Espo/Modules/Advanced/Services/Workflow.php on line 344 at /var/www/example.com/public_html/application/Espo/Modules/Advanced/Core/Workflow/Helper.php:148)"} []
          Attached Files

          Comment

          • Sloff
            Member
            • Feb 2018
            • 47

            #6
            Also the Process Pending Flows was running, but was still running after 30 minutes

            Comment

            • yuri
              Member
              • Mar 2014
              • 8438

              #7
              I will fix it asap. As a temporary workaround you can use Specified Email Address instead of Specified Users. Thanks.
              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

              • Sloff
                Member
                • Feb 2018
                • 47

                #8
                Thank you!

                Comment

                Working...