Command

From Grooper Wiki

A Grooper "Command" is an action which can be performed on a specific type of object. Second to Grooper "Activities", Commands are one of the main ways work is performed in Grooper.

Commands can be executed in two ways:

  • Manually by users.
    • Commands may executed manually by pressing buttons in various Grooper UIs.
      • Example: The "Pause" and "Resume" commands are Batch commands executed from the Batches page by pressing the Pause and Resume buttons.
      • Example: Property Grid configurations in the Design page are saved by pressing the Save button. This executes the "Save" command.
    • Commands are often accessed in a "context menu" by right-clicking nodes or other objects.
      • Example: There are several viewer specific commands executed by users in Review steps. Data Viewer commands are executed by right-clicking Data Element instances in the Data Grid. For example, Data Fields and Data Column cells are confirmed by right clicking them and choosing the "Confirm" command.
      • Example: Design users should be very familiar with context menu commands. Even something as simple as adding and deleting nodes in the node tree are done using Grooper commands (the "Add" and "Delete" commands).
  • Automatically in a Batch Process, using the Execute activity.
    • Several commands are relevant to document processing and are included in a Batch Process using the Execute activity.
      • Example: "Convert to PDF" is a Word Document command required to convert DOC and DOCX files to PDF files. Grooper cannot process Word files natively, but once converted to PDF it can hand it to downstream Activities, such as Recognize, for subsequent processing.
      • Example: "Expand Attachments" is a Mail Message command required to process files attached to emails.


Derived Types

The following Commands all inherit from Command (Grooper.ObjectCommand) in Grooper. In parenthesis, you will find the commands type name in Grooper and its link to the Grooper Help page.