Post-processing scripts run after a step finishes. Typically,
post-processing scripts ensure that expected results occurred.
Steps in component processes and generic processes can have post-processing
scripts, but steps in application processes cannot.
Post-processing scripts come from the following sources:
- Steps can have default post-processing scripts. These scripts
are included with the plug-in. See Creating plug-ins.
- You can override the default post-processing script for a step
or provide a post-processing script for a step that does not have
one. See Editing processes.
- You can store post-processing scripts on the server for reuse.
See Storing reusable post-processing scripts.
Post-processing scripts must set the
Status property
to specify the status of the script. The script can specify any value
for the
Status property. For example, to specify
that the script was a success, run the following command in the post-processing
script:
properties.put("Status","Success");
See The post-processing element for examples and more information.