Free cookie consent management tool by TermsFeed Modifying Ratings [Government Source Selection v23.1.1.4]
Page not found in the selected version; redirected to the home page.
Modifying Ratings
This content applies solely to Government Source Selection, which must be purchased separately from the Appian base platform.

Introduction

You can customize the Government Source Selection solution to your organization's particular needs. It allows users to evaluate vendors and rate each vendors across various factors. The out-of-the-box solution comes pre-configured with common rating methods and values that can be selected when creating factors and sub-factors in the evaluation setup wizard.

/gss/Ratings Dropdown

See the following table for more information on the pre-configured rating methods and rating values.

Rating Method Rating Values
Color Rating Blue, Purple, Green, Yellow, Red
Adjective Rating Outstanding, Good, Acceptable, Marginal, Unacceptable
Risk Adjective Rating Low, Moderate, High
Number Rating 1, 2, 3, 4, 5
Confidence Level Rating Substantial, Satisfactory, Limited, No, Unknown
Acceptable/Unacceptable Rating Acceptable, Unacceptable

Adding a new rating value

GSS stores the values for each rating in the AS_GSS_R_RATING table. Updating this table allows you to control the values and methods for each rating you want to display to end users moving through the evaluation process.

To add a value to a rating method list:

  1. Insert a new row into the AS_GSS_R_RATING table.
  2. Update each column with the following information:
    • PARENT_RATING_ID: The REF_RATING_ID associated with the rating method you're adding this value to.
    • REF_LABEL: The new value you are adding.
    • DESCRIPTION: Optional field that can be used to describe the value being added.
    • SORT_ORDER: Optional field that can be used specifying the sort order.
    • Note: To implement the sort order, you will have to update the queries applied to this column. - REF_ICON: Optional field that can be used to specify an icon for this entry. - REF_COLOR: Optional field that can be used to specify the icon color. - IS_ACTIVE: true (1). - CREATED_BY: Your Appian username. - CREATED_DATETIME: The current timestamp in the YYYY-MM-DD HH:MM:SS format. - MODIFIED_BY: Your Appian username. - MODIFIED_DATETIME: The current timestamp in the YYYY-MM-DD HH:MM:SS format.

After the row is inserted, this value will be available in any of the rating method lists that have the same reference PARENT_RATING_ID as the value you inserted.

Example

To add a new dropdown value, you could use the following SQL statement by replacing the values in the angle brackets (< >) with your data.

1
2
3
INSERT INTO `AS_GSS_R_RATING` (`REF_DATA_ID`, `PARENT_RATING_ID`, `REF_LABEL`, `IS_ACTIVE`, `CREATED_BY`, `CREATED_DATETIME`, `MODIFIED_BY`, `MODIFIED_DATETIME`)
VALUES (null, 1 , '<New Label>', 1, '<Username>', CURRENT_TIMESTAMP(), '<Username>', CURRENT_TIMESTAMP()),
(null, 1, '<New Label>', 1, '<Username>', CURRENT_TIMESTAMP(), '<Username>', CURRENT_TIMESTAMP());

Deactivating a rating value

If there is a value in a rating method list that is no longer needed, deactivate the value by changing the IS_ACTIVE value in the AS_GSS_R_RATING from 1 (true) to 0 (false).

After the update is made, this value will no longer display in any rating method list. The value will continue to display for already active evaluation, historical evaluations, or both.

Deactivating an evaluation status or task status is not recommended, as it will negatively affect other aspects of the application. Deleting data from the table is not recommended except during initial set up. If the application is already in use, deleting data rather than deactivating it may cause issues.

Example

To deactivate a dropdown value, you could use the following SQL statement. Replace <ID Being Updated> with the R_RATING_ID value. For example, to deactivate Marginal in the following table, <ID Being Updated> would be 15.

R_RATING_ID R_PARENT_RATING_ID LABEL IS_ACTIVE
14 2 Acceptable 1
15 2 Marginal 1
15 2 Unacceptable 1

Note that this example uses MySQL syntax.

1
UPDATE AS_GSS_R_RATING SET IS_ACTIVE = 0 WHERE R_RATING_ID = <ID Being Updated>

Adding a new rating method

If you want to add a new rating method list, you need to create a new rating method. There are two main steps to add a new rating method:

  1. Add a new row to the AS_GSS_R_RATING table. See Adding new rating values for instructions on how to add new rows.
    • For the value in the REF_LABEL column, enter a name for the new rating method, such as Yes/No Rating.
  2. Create a constant in the application to query this from the database. See Using a new rating in the application for instructions on how to set this up.

Using a new rating method list in the application

After a new rating method list has been added to the AS_GSS_R_DATA table, it will need a constant to point to it to be used in interfaces.

  1. Go to the AS GSS Baseline application in Appian Designer.
  2. Create a new constant called AS_GSS_REF_TYPE_<NEW_RATING_METHOD_TYPE>. For example AS_GSS_REF_TYPE_YES_NO_STATUS.
    • Type: Text
    • Value: <New Rating Method Type>
    • Note: Be sure this matches the rating method name in the REF_LABEL column of the AS_GSS_R_RATING table exactly. For example, if the name in the REF_LABEL column is Yes/No Rating, the value here must be the same. - Save it in the AS GSS SAIL Design Objects folder.

After the dropdown list constant has been created, the list is ready to be used by the AS_GSS_QE_getRefRatings rule. This rule pulls all of the reference data into the interface that needs a reference value. AS_GSS_QE_getRefRatings takes in typelist—an array of text—corresponding to the type values in the database you need to use.

Example

To pull in the Yes/No Rating method list, use the rule as shown below:

1
2
3
4
5
6
local!refData: rule!AS_GSS_QE_getRefRatings(
  refTypes: {
    /* Yes/No Rating */
    cons!AS_GSS_REF_TYPE_YES_NO_STATUS,
  }
)

As shown in the example, you can pass in either text or a constant of type text with the corresponding dropdown list type.

Modifying Ratings

FEEDBACK