Anybody know what are the possible ways to move to the next task in your custom Java class? The two ways I know would be to either know what the name of the Flow (transition) where you can use the transistionTo method. The other way I know is to know the name of the next task, then you can loop through the task to find the next transition. Is there any other way?
modelerworkflowapidoc.jar
/iw-home/httpd/webapps/content_center/WEB-INF/lib
I don't have a use case for this, more just a general idea of how Interwoven does their programming. According to /iw-home/local/config/lib/content_center/customer_samples_src/src/com/corp/custom/MailNotificationTask.java, it looks like it picks up the target_task_name to get to the next task. Looking through the Publish LiveSite Content workflow, From the Review Notification Email task to the Review Files task, there is no target_task_name variable like there is in the Email Task (but that looks just like another urlexternaltask with some given variables.) The Publish LiveSite Content workflow calls the workflow.task.EmailTask bean to do the work. Just curious how they get to the next task with no target task name? Did they not write in the specific transition and just wait for the timeout link to take it to the next task? Or was the "Flow" name coded into the program to move to the next task?