Skip to content

Run Oozie Workflow

Nate Weisz edited this page Oct 6, 2015 · 3 revisions

Runs an Oozie workflow on an existing EMR cluster.

Delegate Class

org.finra.dm.service.activiti.task.RunOozieWorkflow

Input Parameters

Name Required Accepted Values Default Value Case Sensitive Description
contentType Y xml, json N Indicator whether XML or JSON is provided for runOozieWorkflowRequest.
runOozieWorkflowRequest Y N The run Oozie workflow request. Please refer to EMR Oozie Workflow Post for details.

Output Parameters

Name Description
{taskId}_id The Oozie job Id that uniquely references the newly created job.

Sample Usage in Activiti XML

<serviceTask id="RunOozieWorkflowTask" name="Run oozie workflow" activiti:class="org.finra.dm.service.activiti.task.RunOozieWorkflow">
   <extensionElements>
      <activiti:field name="contentType" stringValue="xml"/>
      <activiti:field name="runOozieWorkflowRequest" expression="${runOozieWorkflowRequest}"/>
   </extensionElements>
</serviceTask>
Clone this wiki locally