Logging operations on custom workflow

Di più
23/01/2013 08:43 #2643 da andrea.vergottini
Hello.
I created (starting from the file VTCreateTodoTask.inc) a new operation customized with minor changes from the previous file.

Now I would like to see it and record on VTE (see the menu of operations in the workflow). How do I register it?

Has anyone tried it?

Thanks.

Si prega Accedi a partecipare alla conversazione.

Di più
23/01/2013 11:14 #2646 da mapokid
Hi, you can search in all the code the tag crmv@18199 in order to find all the customisations made for the "Update Field Task".
So you can do the same things.

Si prega Accedi a partecipare alla conversazione.

Di più
23/01/2013 12:54 #2647 da andrea.vergottini
Hi,i did not understand.
I have created the file "tasks/VTCreateTodoTaskNEW.inc"
How do I register to see it in the workflow task?

Thanks

Si prega Accedi a partecipare alla conversazione.

Di più
24/01/2013 10:38 #2648 da tebby
try this code:

require 'modules/com_vtiger_workflow/VTEntityMethodManager.inc';
$emm = new VTEntityMethodManager($adb);

$emm->addEntityMethod("Module Name","Label", "Path to file" , "Method Name" );

Si prega Accedi a partecipare alla conversazione.

Tempo creazione pagina: 0.199 secondi