Logging operations on custom workflow

More
23 Jan 2013 08:43 #2643 by 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.

Please Log in to join the conversation.

More
23 Jan 2013 11:14 #2646 by 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.

Please Log in to join the conversation.

More
23 Jan 2013 12:54 #2647 by 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

Please Log in to join the conversation.

More
24 Jan 2013 10:38 #2648 by 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" );

Please Log in to join the conversation.

Time to create page: 0.117 seconds