CLI Reference > Server Administration Commands > im states
  
im states
displays a list of states
Synopsis
im states [--fields=field1[:width1],field2[:width2]... [--fieldsDelim=value] [--height=value] [--width=value] [-x value] [-y value] [--user=name] [--hostname=server] [--password=password] [--port=number] [(-?|--usage)] [(-F file|--selectionFile=file)] [(-N|--no)] [(-Y|--yes)] [--[no]batch] [--cwd=directory] [--forceConfirm=[yes|no]] [-g|--gui] [--quiet] [--settingsUI=[gui|default]] [--status=[none|gui|default]] state...
Description
im states displays a list of states for workflows and documents. By default, all states are listed.
Options
This command takes the universal options available to all im commands, as well as some general options. See the options reference page for descriptions.
--fields=field1[:width1],field2[:width2]...
where fieldn can be any of the following:
name
displays the name of the state. By default, only the name is shown.
id
displays the database ID of the state. This is for PTC Technical Support only.
description
displays a description of the state.
image
displays if the state has an image.
capabilities
displays the capabilities, if any, of the state (CLI only).
position
displays the order number of the state.
references
displays a list of object references.
--fieldsDelim=value
specifies the string to be used as a delimiter between fields displayed in the CLI. The default is " ".
state...
specifies names of the states to display.
See Also
Commands: im createstate, im editstate, im viewstate, im deletestate
Miscellaneous: options