If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
In the left
pane of the Console, select Diagnostics > Diagnostic
Diagnostic System Modules table, select the name
of the diagnostic system module containing the script action you want
Select Configuration > Policies and Actions >
In the Actions table, select the script action you want to
On the Script Properties page:
in Working Directory, enter the
working directory location for the child process.
In Path to Script, enter the full path
to the location of the script you want to execute. This field is
required and should be a relative path to
DOMAIN_HOME/bin/scripts. If you enter an
absolute path, WebLogic Server rejects it with an error.
In Environment Variables, enter a map
of the environment variables to set for the child process.
In Parameters, enter an array of
ordered command-line arguments to the target script.