[Vtigercrm-developers] Workflow Emails on Tickets
Alan Lord
alanslists at gmail.com
Tue May 15 10:12:56 GMT 2018
On 15/05/18 09:59, Alan Lord wrote:
> I'm seeing odd behaviour which is not what I would expect.
> ...
> When UserA assigned the Ticket to UserB, the From email was set
> correctly to UserA's name and email address, BUT the contents of the
> email, sent to UserB, contained the Signature of UserB???
This looks wrong to me.
http://code.vtiger.com/vtiger/vtigercrm/blob/master/modules/com_vtiger_workflow/tasks/VTEmailTask.inc#L213
The line above says make the $fromUserId the assigned_user_id of the
entity, e.g the Ticket.
The $fromUserId is used later to retrieve the signature:
http://code.vtiger.com/vtiger/vtigercrm/blob/master/modules/com_vtiger_workflow/tasks/VTEmailTask.inc#L341
Al
More information about the vtigercrm-developers
mailing list