Workflow Email action send email selector broken

Ive been using SuiteCRM for about 4 years and i’m reasonably competent in most areas but have hit a problem that doesn’t seem to have been covered in any of the forums that i can find.

Using the workflow module i created a new workflow to send an email whenever a new lead is added to a campaign as i have a webform set up from my website that adds a new lead to a campaign so i thought it would be useful if we get an alert when this happens.

Unfortunately when i select send email as an action the plus button to add an email address doesn’t work, it doesn’t trigger the drop down and in my inspector console i get the following message:

Uncaught ReferenceError: add_emailLine is not defined
at HTMLButtonElement.onclick (index.php?module=AOW_WorkFlow&action=EditView&return_module=AOW_WorkFlow&return_action=DetailView:1)
onclick @ index.php?module=AOW_WorkFlow&action=EditView&return_module=AOW_WorkFlow&return_action=DetailView:1

On the demo the button fires as it should so i figure it is something in my set up, i’ve rechecked all my permissions and i’m running the latest version
Version 7.8.3
Sugar Version 6.5.24 (Build 509)

Is there anyone who could point me in the right direction?


I also get same error till now

I have the same problem.
My version:
Version 7.11.20
Sugar Version 6.5.25 (Build 344)

Could anyone help?

I checked in developer in the browser and I got an 500 http code on the network tab on this request:

Request URL: https://my-domain/index.php?module=AOW_WorkFlow&action=getAction&id=&aow_action=SendEmail&line=3&aow_module=Contacts
Request Method: GET
Status Code: 500 Internal Server Error

Welcome to the community!

  1. Check errors in log of your web server (apache, nginx, etc.)
  2. Check permissions.

Thanks for your answer.

For me the suitecrm runs in docker container, so I checked the docker logs, and I see that I have a custom module, which is maybe not installed correctly :man_shrugging: :

PHP Fatal error:  require_once(): Failed opening required 'modules/dev01/devmodule01.php' (include_path='/bitnami/suitecrm:/bitnami/suitecrm/include/..:.:/opt/bitnami/php/lib/php') in /bitnami/suitecrm/modules/AOW_WorkFlow/aow_utils.php on line 876, referer: https://my-domain/index.php
"GET /index.php?module=AOW_WorkFlow&action=getAction&id=&aow_action=SendEmail&line=2&aow_module=Contacts HTTP/1.1" 500 -

Since I don’t need this custom module I’ve just removed it and my problem disappeard. :white_check_mark: