Execution Context

Job execution requests contain two java maps (string and object) serialized with jobContext and workflowContext variables.

Enterprise

Enterprise carries out the following functions during execution:

  • Fills in using the job and context variables upon launching a job.
  • Updates the job and workflow context variables when JEF returns the job response.

Services

Plugin developers running executors can carry out the following:

  • Receive job and workflow contexts:

    String strAssetId1 = (String) jobContextVariables.get("asset");

    String strAssetId2 = (String) workflowContextVariables.get("asset");

  • Update the job and workflow context variables to send back the response:

    jobResponse.setJobContextVariable("asset", “new value”);

Note: Job and workflow context variables are only updated if changes have been made.
Note: The following expressions are supported in workflow string variables for Demux and Segemented Proxy actions in order to pass lists of assets: [x,y,z] and x,y,z.
https://help.ooyala.com/sites/all/libraries/dita/en/media-logistics/flex/dev/70/jef_programming_guide_execution_context.html