Page 1 of 1

Create one global Trigger/Handle

Posted: Sun Sep 07, 2014 8:41 am
by anasmix
Current issue: I have to create a trigger for each process, and sometimes i use same common logic, with copying and pasting it.

Looking for a solution: i was wondering if it is possible to create ONE GLOBAL (Trigger / Handler) in ProcessMaker 2.5.1 which combines all the logic i want

Re: Create one global Trigger/Handle

Posted: Mon Sep 08, 2014 10:18 am
by Adrian
Hello the team and i where taking a look at your case and we found a solution for you, since you need to make a global trigger you will need to create some Global variables in order to use them with your Global triggers.
but we strongly recomend you to develop your own plugin .
why?:
Because when you develop your own plugin all your variables can be called in a global way, so you wont get into processmaker code, and you will have better chances in not messing with processmaker code which would result in processmaker malfunction that may cost you some time in reinstalling the tool.

you can follow the next URL in order to develop your own plugin:
http://wiki.processmaker.com/index.php/ ... evelopment

hope this information would be useful to you.

Regards

Re: Create one global Trigger/Handle

Posted: Sun Sep 14, 2014 9:13 am
by anasmix
Adrian,

Would appreciate a better documentation/videos/tutorials about developing a Plugin, as your wiki doesn't show that much, plus,
In regard of developing using Windows as per your Note: Plugins can not be created on Windows servers, because Windows does not support symbolic links;
Windows does offer that, using MLink? i already created a symbolic link very easily, now i only need much more tutorials and better understanding of plugins to create.

Re: Create one global Trigger/Handle

Posted: Mon Sep 15, 2014 8:45 am
by liliana
Hi,

We are working on providing you a better documentation about plugins. Hope this will be available soon.

Regards,

Re: Create one global Trigger/Handle

Posted: Tue Sep 16, 2014 4:19 am
by anasmix
Hello Lilian,

Would appreciate some video's as well, examples, etc.. to boost up our work on developing it better and wider.


Regards.