Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3


This page is intended to provide a guide to quickly start using the Workflow2

Getting Started

To start using the Workflow2, do the following:


Verify that the file has the following:

Code Block
# 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:

Code Block
# 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:

Code Block
# 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:

Code Block


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