The <post-processing> element sets the step's output properties (step name/property name, see Properties) and provides error handling. The <post-processing> element can contain any valid JavaScript script (unlike the <command> element, <post-processing> scripts must be written in JavaScript). Users can also provide their own scripts when they define the step in the IBM® UrbanCode Deploy editor; see Post-processing scripts.
properties.put("OutputProp1","value1");
Then,
the precondition scripts of other steps can access this property.
See Process step preconditions. commandOut.println("Log message.");
properties.put("Status","Success");
${p:stepName/propName}
The script that is defined in the <post-processing> element is the step's default behavior. Users can also provide their own script, overriding the default behavior, when they define the step in the process editor. See Editing processes.