Develop > Document Engine > Work order example overview > Create a State definition

Create a State definition

These State definitions for the work order example specifies what process to use and what actions are allowed when a user opens, closes, or views a work order record.

Note See State Definition field descriptions for the State definition field descriptions.

To create a State definition for open, follow these steps:

  1. From the System Navigator, click Tailoring > Document Engine > States to open the State Definition form.
  2. Enter the following information:

    Field Value
    State EXWorkOrder.open
    Display Screen EXWorkOrder.open
    Initialization Process EXWorkOrder.open.initial
    Format $L.format
    Input Condition true
  3. Click ADD.

To create a State definition for close, follow these steps:

  1. From the System Navigator, click Tailoring > Document Engine > States to open the State Definition form.
  2. Enter the following information:

    Field Value
    State EXWorkOrder.close
    Display Screen EXWorkOrder.close
    Initialization Process EXWorkOrder.close.initial
    Format $L.format
    Input Condition true
  3. Click ADD.

To create a State definition for view, follow these steps:

  1. From the System Navigator, click Tailoring > Document Engine > States to open the State Definition form.
  2. Enter the following information:

    Field Value
    State EXWorkOrder.view
    Display Screen EXWorkOrder.view
    Initialization Process EXWorkOrder.view.initial
    Format $L.format
    Input Condition true
  3. Click ADD.

To create a State definition for search, follow these steps:

  1. From the System Navigator, click Tailoring > Document Engine > States to open the State Definition form.
  2. Enter the following information:

    Field Value
    State EXWorkOrder.search
    Display Screen db.search
    Initialization Process EXWorkOrder.view.search
    Format $L.format
    Input Condition true
  3. Click OK.