Open topic with navigation

TIBCO iProcess® Engine 11.10.0

# Extracting Case Data (Extended)

If you want to specify the output format of the case data, use the following command:

`swutil EXTCD [``flags``]``procname``[``casenum``[``fields``]]`

where:

| • | `flags` indicates one or more of the following optional parameters, preceded by a hyphen character (`-`), which can appear anywhere on the command line.

Parameter | Description
format | One of the following flags, which specifies the output format for the extracted data. (The default is `-v` if no format flag is included.) `-v` verbose `-a` abox `-c` comma delimited `-t` tab delimited `-t` `char` delimited by character `char` These formats are explained in Output Formats.
textmodifier | One of the following flags, which specifies whether the text is written with DOS or UNIX newline conventions. `-u` UNIX: `LF -d` DOS: `CR` + `LF`
`-f` | Causes a list of field names to be included as the first line of the output. It only applies if the `-c`, `-t` or `-t` `char` format options are specified. The field names are written in upper-case letters, separated as specified by the format flag.

Examples of flag options:

    -vu
    -a -d
    -dt~
    -t

| • | `procname` is the name of the procedure (case insensitive).

| • | `casenum` is optional, and specifies the number of the case to be extracted, or one of the following may be used:

Value | Description
`ALL_CASES` | All cases for the procedure will be extracted.
`ALL_ACTIVE` | All active cases for the procedure.
`ALL_TERM` | All terminated cases for the procedure.

If this parameter is not specified, the default is `ALL_CASES`.

| • | `fields` is optional (but requires that `casenum` is included), and provides a list of fields to be extracted, separated by commas, for example:

    FIELD1,FIELD2,FIELD3

(Field names are case insensitive.)

As well as fields defined in the procedure, the following predefined fields may be included:

Value | Description
`SW_CASENUM` | specifies the case number
`SW_CASEREF` | specifies the case reference, `pp`-`nn`
`SW_CASEDESC` | specifies the case description

Alternatively, `ALL_FIELDS` may be used to specify that all fields of the procedure should be extracted (including `SW_CASENUM`, and `SW_CASEDESC` if it is used as a marked field). This is the default if the parameter is omitted.

Subtopics

Did you find this helpful?

Yes No
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO iProcess® Engine

Copyright © 1994-2025. Cloud Software Group, Inc. All Rights Reserved.