Job execution requests contain two java maps (string and object) serialized with jobContext and workflowContext variables.
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.
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”);