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:

1) Fills in using the job and context variables upon launching a job.

2) Updates the job and workflow context variables when JEF returns the job response.

Services

Services that are running the executor (job sync executor or job async executor) carry out the following functions during execution:

1) Receives job and workflow contexts:

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

2) Updates 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.
https://help.ooyala.com/sites/all/libraries/dita/en/media-logistics/flex/dev/60/jef_programming_guide_execution_context.html

Was this article helpful?