<div dir="ltr"><div>One approach would be to use vtiger workflows: put the conditions that the workflow should execute whenever the description or the status change and use an "update field" action.</div><div><br></div><div>You can also check vtiger eventhandlers. There is a beforesave event and an aftersave event that can be useful. There are plenty of examples of such eventhandlers. Take a look at vtiger_eventhanderls db table.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Saludos<div><br></div><div>Rubén</div></div></div></div><br><p></p></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 29, 2020 at 3:10 PM Sukhdev Mohan <<a href="mailto:s.mohan@myti.it">s.mohan@myti.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi all,<div><br></div><div>I’m trying to know when a field in Calendar is updated and have to update a date field in the same (weird demand I know, there is update tab but they want it outside). </div><div>Any one know how can I check if taskstatus or description is changed and then update a field in Tasks? </div><div>Question number 2: workflow is triggered after committing to db? Is There a way to intercept the call something pre inset/update/delete? To put it formally, are there before and after event? If yes how to use them? If not is there a way to achieve this?</div><div><br><div>
<div dir="auto" style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none"><div>Best Regards,<br>Sukhdev Mohan<br>———————————</div><div>Cel. (+39) 320 7020345<br><a href="mailto:s.mohan@myti.it" target="_blank">Email s.mohan@myti.it</a></div><div><br></div></div><br><br>
</div>

<br></div></div>_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div>