Dalet Flex documentation has moved!
This page is no longer actively maintained. For the latest documentation, please visit us at our new support portal: https://support.dalet.com

Execution Context

See https://github.com/dalet-oss/flex-jefexampleexecutor-service/tree/master/Service/src/main/java/com/ooyala/flex/jefexampleexecutor/actions/impl/assetcontext

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”);

Job and workflow context variables are only updated if changes have been made. 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.