Error: Invalid spaceKey on retrieving a related space config.

Adding a value to the field mapping table

In the value column, you can enter a field name, keyword, static value, or expression. Use the expression editor select field names and keywords, or to create an expression. You can also type the expression in the field using the content assist feature.

To define a value for the field by using the expression editor

  1. After entering a field in the Field column, click the same row in the Value column.
  2. Click the ellipsis button that appears in the Value cell.
    The Expression Editor dialog box opens. The following figure shows an example of the Expression Editor dialog box in a Set Fields action, with a value being defined for the Short Description field.

    Expression Editor dialog box, Set Fields example
    (Click the image to expand it.)

  3. In the Expression Editor dialog box, build an expression to define the value:
    • To use a value from another field in the current request, select the field from the Available Fields list.
    • To use the current value of a keyword, select it from the Keywords list.
    • To set a static value in the field, enclose the value in quotes in the expression.
      For example, to set a field value that tracks what user modified the form and when, create an expression like the following:
      
      "Request modified by " + $USER$ + " on " + $Modified Date$ +"."
      In this example expression, "Request modified by " and " on " are static values,$USER$ is a BMC Remedy AR System server keyword that contains the current user's login ID, and $Modified Date$ is a field in the current request. The "+" signs are operators that concatenate the parts of the expression.
    • In Set Fields, Service, and Push Fields actions, you can also use the results of data operations in the expression. For more information, see the descriptions of those workflow types in this document.
  4. When the expression is complete, click OK to close the Expression Editor dialog box and enter the expression in the field mapping table.

To define a value for the table by using the content assist feature

  1. After entering a field in the Field column, click the same row in the Value column.
  2. Begin typing the expression. For example, to select a field name, type a single quote (') or press Ctrl+Space.

    Note

    When you map fields, BMC Remedy Developer Studio does not automatically validate the field types or prevent you from mapping fields of different types. If you map fields of different types to each other, BMC Remedy AR System server converts the values at runtime.

Was this page helpful? Yes No Submitting... Thank you

Comments