[Vtigercrm-developers] Workflow Emails on Tickets

nilay khatri nilay.spartan at gmail.com
Tue May 15 10:33:25 GMT 2018


Hmm, yes. It is picking up the signature of assigned_user instead of the
user which modified.

Will need pickup the signature of the user from the $taskContents as it
picks up the $from_email.

On Tue, May 15, 2018 at 3:42 PM, Alan Lord <alanslists at gmail.com> wrote:

> 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
>
> _______________________________________________
> http://www.vtiger.com/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20180515/62b58519/attachment.html>


More information about the vtigercrm-developers mailing list