Qorus Integration Engine  3.0.4.p7
oview: Show Workflow Instance, Order Status and Overviews

Usage
oview [options]

This program displays information about the status of workflow order data instances in the database. Without options, an overview is given of all workflow order data instances in the last 24 hours that do not have a OMQ::StatComplete status.

Depending on the options given on the command-line, detailed information can be retrieved and output for the objects desired.

Workflow errors can be automatically queried as well, and workflow orders can be automatically retried based on the search results with -R.

For example, to see an overview of all workflow data with no time limitations:

unixprompt% oview –ca

To see the detailed status of workflow order data instance ID 419649, with step and segment details:

unixprompt% oview –ssg w:419649
Note
Depending on the options given, this command shows information retrieved from the Qorus by calling various methods of the system.info service.

For more information about this service, please see the system.info service.

Be aware that this program is delivered as a Qore-language script, and, as such, requires either the $OMQ_DIR or $QORE_MODULE_DIR environment variables to be set to find the Qorus client module, if not located in the default location.

Data Options Supported by oview

Option Short Description
name n/a Shows an overview of the workflow name given
number n/a Shows an overview of the workflow id given
w:id n/a Shows information about the workflow order data instance given (id = workflow order data instance id)
e:id n/a Shows information about the order given (id = external order data instance id)
o:id n/a Shows order data information about the workflow order data instance ID given (id = workflow order data instance id)
k:arg n/a Workflow order data instance by key, arg=name:version:key:value
E:code n/a Performs a search for workflow errors with the given error code for error searches
–date=ARG -D Show information from the date and time given (format YYYY[MM[DD[HHmmSS]]])
–hour -H Show information from the last 60 minutes
–day -d Show information form the last 24 hours (default)
–week -w Show information from the last 7 days
–month -m Show information from the last month
–year -y Show information from the last year
–all -a Show all information
–complete -c Include workflow order data instances with OMQ::StatComplete status in output
–nosqlcache -F do not use SQL cache (exact values, slow with large databases

Code Options Supported by oview

Option Description
class:name[:version] Displays the given class code object in source file format
const:name[:version] Displays the given constant code object in source file format
func:name[:version] Displays the given function code object in source file format
method:service[:version]:name Displays the given service method in source file format
service:name[:version] Displays the given service and all methods in service source file format

Output Options Supported by oview

Option Short Description
–status=ARG -S Show only workflow order data instances with status=ARG (C = COMPLETE, E = ERROR, A = ASYNC-WAITING, W = WAITING, V = EVENT-WAITING, I = IN-PROGRESS, N = INCOMPLETE, R = RETRY, X = CANCELED, B = BLOCKED, Y = READY, S = SCHEDULED)
–errors -e Show detailed error information for workflow order data instances displayed (-v for even more information)
–full -f Show a full list of individual statuses instead of summarized statuses (default is summarized)
–limit=ARG -L limit number of workflows retrieved and displayed
–segment -g Show segment information
–steps -s Show detailed information about steps executed
–order -o Show detailed order information

Error Search and Retry Options Supported by oview

Option Short Description
–search-errors -E apply all other command-line arguments to error searching only
–show-all-errors -A show all errors including warning and info records
–business -b show only business errors
–technical -t show only technical errors
–stepid=ARG n/a show only errors from the given stepid
–stepname=ARG n/a show only errors from the given step name
–retry -R retry all workflow orders found in error search

Miscellaneous Options Supported by oview

Option Short Description
–verbose -v Show more information (more –v’s = more info)
–help -h Prints command help text
–url=ARG -u Sets the URL; see UNIX Socket Support in URLs
–proxy-url=ARG -p Set the proxy URL: "http://host:port"; at least host or port must be given; ex: "http://proxy1:8080"; see UNIX Socket Support in URLs
–show-url -U Show default URL
–message -r Show reformatted request and response messages
–literal -l Show literal request and response messages (2x or with -v = show headers)
–mono -M Do not use ANSI colors in output