<div dir="ltr">Hmm, yes. It is picking up the signature of assigned_user instead of the user which modified.<div><br></div><div>Will need pickup the signature of the user from the $taskContents as it picks up the $from_email.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, May 15, 2018 at 3:42 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 15/05/18 09:59, Alan Lord wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
I'm seeing odd behaviour which is not what I would expect.<br></span>
... 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???<br>
</blockquote>
<br>
This looks wrong to me.<br>
<br>
<a href="http://code.vtiger.com/vtiger/vtigercrm/blob/master/modules/com_vtiger_workflow/tasks/VTEmailTask.inc#L213" rel="noreferrer" target="_blank">http://code.vtiger.com/vtiger/<wbr>vtigercrm/blob/master/modules/<wbr>com_vtiger_workflow/tasks/VTEm<wbr>ailTask.inc#L213</a><br>
<br>
The line above says make the $fromUserId the assigned_user_id of the entity, e.g the Ticket.<br>
<br>
The $fromUserId is used later to retrieve the signature:<br>
<br>
<a href="http://code.vtiger.com/vtiger/vtigercrm/blob/master/modules/com_vtiger_workflow/tasks/VTEmailTask.inc#L341" rel="noreferrer" target="_blank">http://code.vtiger.com/vtiger/<wbr>vtigercrm/blob/master/modules/<wbr>com_vtiger_workflow/tasks/VTEm<wbr>ailTask.inc#L341</a><br>
<br>
<br>
Al<br>
<br>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>