I want to add assigned user field in projects and be able to setup a workflow to send an email to the assigned user. I was able to add the field via a json file but assigned user does not work in the email template or email workflow. Does anybody know how to get this to work?
Add assigned user field in project
Collapse
X
-
Tags: None
-
Current Tasks:
1: I added JSON code to /Custom/Resources/metadata/entityDefs/Project.json and /Custom/Resources/i18n/en_US/Project.json to enable assigned users for Projects. So far, assigning users is now possible, but currently the part I'm stuck on is trying to enable sending emails to assigned users. For some reason, the option "Related: Assigned Users" in the "To" dropdown when editing the Send Email action is missing, and nothing I do seems to solve the problem.
What I tried doing:
- I mentioned adding JSON code to two different files both called Project.json which do different things. The code I added was supposed to add an "assignedUser" option when selecting a recipient in the "send email" action
- I also tried to make a new "relationships" directory in the metadata folder which should have defined a links between different entities, in this specific case, project and assigned users, but Espo seems to be ignoring this folder for some reason.
* Assigned Users is now a usable field within Project's entity settings, but it still will not appear as an options when sending emails
Comment