Corebox Events vs Workflow Custom Function - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Open (https://discussions.corebos.org/forumdisplay.php?fid=20) +--- Forum: Open Discussions (https://discussions.corebos.org/forumdisplay.php?fid=10) +--- Thread: Corebox Events vs Workflow Custom Function (/showthread.php?tid=89) Pages:
1
2
|
Corebox Events vs Workflow Custom Function - saidmsl - 02-11-2015 Hi, can someone explain the difference between the 2 event system and advantage using one or the other coreBOS Events, Links and Hooks Rgds Re: Corebox Events vs Workflow Custom Function - joebordes - 02-11-2015 I added some additional text to the explanation on the wiki: <!-- m --><a class="postlink" href="http://corebos.org/documentation/doku.php?id=en:devel:corebos_hooks&#explanation">http://corebos.org/documentation/doku.p ... xplanation</a><!-- m --> As I say there, in the end, they are all the same and the only thing that decides which to use is what you need to acheive. Our ultimate goal is to not have to modify the base code in any way to get your customizations working. We have advanced a lot, and there is more to come. Re: Corebox Events vs Workflow Custom Function - anilp78 - 02-23-2015 Hi ! Is it possible to create a "Send sms" workflow ? thanks, Re: Corebox Events vs Workflow Custom Function - joebordes - 02-23-2015 Yes, there is a custom workflow function for that and as far as I know that works. It probably will work with any module that has a phone field, but for sure you can get it working on accounts and contacts Re: Corebox Events vs Workflow Custom Function - anilp78 - 03-01-2015 Hi, I am able to create a "send sms" workflow on leads (on first save). Is it possible to create a series of "send sms" workflow that have consecutive dependency? For example - sms1 goes on first time record is saved, sms2 goes 1 day after sms 1, sms3 goes 7 days after sms2..... likewise. similarly, emails. thanks, Re: Corebox Events vs Workflow Custom Function - joebordes - 03-01-2015 You don't have full control over this type of time based workflows (yet) but you can do what you are asking for to some extent using the "delay" option. The idea is that all workflows are created on the same "save" event, but some of them have their delay option set to an offset of varios days. [attachment=0]<!-- ia0 -->WFDelayOffset.png<!-- ia0 -->[/attachment] Re: Corebox Events vs Workflow Custom Function - anilp78 - 03-01-2015 Hi Joe ! Thanks you gave me a way out immediately !! <!-- s --><img src="{SMILIES_PATH}/icon_e_smile.gif" alt="" title="Smile" /><!-- s --> Re: Corebox Events vs Workflow Custom Function - anilp78 - 03-02-2015 Hi Joe, I am getting the following error when i try to run vtigercron.php directly from url - Fatal error: Call to a member function getTimeFieldList() on a non-object in /home /corebos-master/modules/com_vtiger_workflow/VTTaskManager.inc on line 78 what could be the reason? thanks, Re: Corebox Events vs Workflow Custom Function - joebordes - 03-02-2015 This indicates an error in the task of one of your workflows. That is rather odd, maybe it was saved incorrectly or some parameter isn't validated correctly. You have to find out which task is causing the problem and then check the parameters. Try adding this patch to your code: Code: diff --git a/modules/com_vtiger_workflow/VTTaskManager.inc b/modules/com_vtiger_workflow/VTTaskManager.inc that should output on screen the information of the task that is breaking so you can fine tune it let me know which task it is in case I can reproduce it here, we are probably missing some validation to not let some value be saved as you are passing it in. Re: Corebox Events vs Workflow Custom Function - anilp78 - 03-02-2015 Ok Joe, in the meantime, while I use that debugging code I must tell u that sms workflow is working perfectly with leads, but email workflow isnt. Emails are working fine with smtp outgoing server when i select a lead and send email. I have not configured mail manager. What i will do now is test the default email workflow that is on contacts module and see if emails are working, and this debugging code. thanks for being there ! |