Description
This command is used to obtain process instance audit information. It obtains information on process instances that have ended.
Refer to "2.6 Process Instance Audit Information File" for information on the information that is obtained.
Synopsis
swrba_audit [-closedafter yyyy-mm-dd] [-closedbefore yyyy-mm-dd] |
Options
Specify the date when to obtain audit information.
These options are not required if the swrba_audit command is executed regularly.
Specify the date when the process ended. The search target will be restricted to process instances that ended on or after the date specified. Specify the date using the following format:
yyyy-mm-dd
Specify the date when the process ended. The search target will be restricted to process instances that ended on or before the date specified. Specify the date using the following format:
yyyy-mm-dd
If only the "-closedafter" option is specified, the search will apply to all process instances that ended in the period between the specified date and the present. If only the "-closedbefore" option is specified, the search will apply to all process instances that ended in the period up to the specified date. An error will occur if the date is specified using a format other than the format above, or if the relationship between these two dates is invalid.
If the "-closedbefore" and "-closedafter" options are not specified, the command will obtain information for process instances that have ended since the last time the command was executed without specifying these options.
If the "-closedafter" or "-closedbefore" option has been specified, the command will obtain information for process instances that ended during the period specified by the option, regardless of the run results of the audit log acquisition command.
Return Values
Return Value | Meaning |
---|---|
0 | Normal termination |
1 | Parameter error |
2 | Authentication error |
3 | BPM access error |
4 | Internal error |
5 | Privilege error |
6 | File I/O error |
Indeterminate | Forced termination |
Command Location
[Windows]
<Systemwalker Runbook Automation Management Server installation directory>\bin |
[Linux]
/opt/FJSVswrbam/bin |
Privilege Required/Execution Environment
[Windows]
This command requires administrator privileges. When using a Windows Server 2008 or later operating system, run as an administrator.
This command can be executed on a Management Server.
[Linux]
This command requires system administrator (superuser) privileges.
This command can be executed on a Management Server.
Note
If the process instances executed during any particular period have been deleted using the swrba_admin command, it will no longer be possible to obtain information for these process instances that have been deleted.