- Create a Standard Job called ChildJob.
Open the Contexts tab to define two context variables,
name and scope.
These variables are used to pass a value from the parent Job to the child Job.
- Add a tJava component from the Palette to the Job editor and double-click the component to open its Basic settings.
In the Code area, type in the following Java code.
String message="Hello "+context.name+", you get "+context.scope+" points in this exam!"; System.out.println(message);
- Press Ctrl+S to save your Job.