Create one global Trigger/Handle

ProcessMaker code contributions

Moderator: amosbatto

anasmix
Posts: 9
Joined: Wed Nov 28, 2012 7:15 am

Create one global Trigger/Handle

Unread postby anasmix » Sun Sep 07, 2014 8:41 am

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

Adrian
Posts: 39
Joined: Fri Sep 05, 2014 11:41 am

Re: Create one global Trigger/Handle

Unread postby Adrian » Mon Sep 08, 2014 10:18 am

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/Plugin_Development

hope this information would be useful to you.

Regards
Adrian
ProcessMaker Support team

anasmix
Posts: 9
Joined: Wed Nov 28, 2012 7:15 am

Re: Create one global Trigger/Handle

Unread postby anasmix » Sun Sep 14, 2014 9:13 am

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.

User avatar
liliana
Posts: 2420
Joined: Wed Jun 01, 2011 11:24 am

Re: Create one global Trigger/Handle

Unread postby liliana » Mon Sep 15, 2014 8:45 am

Hi,

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

Regards,
Liliana Iriarte
Technical Writer

anasmix
Posts: 9
Joined: Wed Nov 28, 2012 7:15 am

Re: Create one global Trigger/Handle

Unread postby anasmix » Tue Sep 16, 2014 4:19 am

Hello Lilian,

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


Regards.


Return to “Code”

Who is online

Users browsing this forum: No registered users and 1 guest