Configuring Schema

You can rename schema, and you can provide range values for attributes.

See About Configuring before you rename any schema.

This task shows you how to:

Rename Schema

You can rename schema elements to support your business processes.

  • In MQL, use the modify ITEM NAME statement to make the change.

    Or:

    In Business Modeler:

    1. Find the object.
    2. Select Open>Edit and change the name.

Use Program to Configure Range Values for Attributes

Use eServicecommonWzrdListFromCommand.tcl to prepare a list to load either a wizard widget or a program attribute.

This program accepts these arguments:


  • Any MQL command that produces a pipe (|) delimited list.
  • List of items to be added in output list.
  • The delimiter; the default is end-of-line ("\n").
  • A selection from the list to be used for default (optional). If not specified, the first item in the list is selected.

and returns RPE settings for the list of names and the selected name.

Examples:

To get a list of types:

input = {list type}

To get a list of subgroups of the Change Board group and make Unassigned as default:

program eServicecommonWzrdListFromCommand.tcl input {print group 
$group_ChangeBoards select child dump |} {Unassigned} {|} 

To get a list of members of the group Change Board 1:

input = {print group "group_ChangeBoard1" select person dump |} {|}

To get a list of subtypes:

input = {print type "type_ParentType" select derivative dump |} {|}

To get a list of ECOs with current state and an attribute value:

input = {temp query bus ECO * * select current 
attribute[attribute_CategoryofChange] dump "     "}

Define Range Values in Schema

You can define range values for schema attributes.

  1. In Business Modeler, open the attribute for editing.

    The as-installed range values for attributes are listed in the Schema Reference Guide.

  2. Click the Ranges tab.

  3. Add, edit, and remove range values as needed.

  4. Save your changes.