This page is intended to provide a guide to quickly start using the Workflow2
To start using the Workflow2, do the following:
Verify that the workflow.properties file has the following:
# wengine properties
# define workflow prioritizer class to use for sorting workflow tasks
# the maximum number of threads to be used by the asynchronous engine runner
You'll need those properties at a minimum.
Then, at the top of your file, select the following:
# workflow repository factory
workflow.repo.factory = org.apache.oodt.cas.workflow.repository.PackagedWorkflowRepositoryFactory
# workflow engine factory
workflow.engine.factory = org.apache.oodt.cas.workflow.engine.PrioritizedQueueBasedWorkflowEngineFactory
# engine runner factory
Remember for your packaged workflow repo to set:
# wengine-style packaged workflow repo properties
org.apache.oodt.cas.workflow.wengine.packagedRepo.dir.path = /path/to/wengine/workflow/files
And to define your wengine lifecycle:
Q. Can I use Workflow1 Policy with Workflow2?
A. Yes. Workflow1 policy is fully backwards compatible.
Q. Are their some sample set of policy files in the Workflow package?
A. Yes. For Workflow1 Policy, click here. For Workflow2 Policy, click here.
Q. Can I use Workflow1 policy to define parallel tasks in my Workflow?
A. No. Use Workflow2 Policy in order to do this.
Q. What's Workflow2 all about and how can I find out more information about it?
A. We have an extensive Workflow2 User Guide on our wiki page. It can be found here