Skip to main content
Skip table of contents

Decision scorecard

Overview

The decision scorecard is a specialized file type that is managed in the Rule Designer.

Decision scorecards allow you to gather together a number of realtime decisions, and assign to each a numerical score value, creating a series of ‘weighted decisions’. If a website visitor fulfills a weighted decision’s criteria, its score is applied to the visitor.

A decision scorecard can then be leveraged in the context of another realtime decision, where a decision criterion can be met based on a visitor’s applied score.

Decision scorecards share a number of the features of a realtime decision. The differences between a scorecard and a realtime decision are outlined below.

Toolbox

A decision scorecard’s toolbox is displayed to the left:

It is shown or hidden using the button provided.

It exposes the following options:

  • Persist score: this dropdown field exposes values ‘No’ (the default) and ‘Yes’. When set to ‘Yes’, an accompanying Identifier field is displayed. If Persist score is set to ‘Yes’, on a scorecard being used to determine content to be shown to a landing page visitor, data is written back to the data warehouse table RPI_WebVisitorsScores, using the Web cache data importer system task. One record is persisted per visitor per scorecard Identifier. If a value in visitor/scorecard identifier context changes, the record in question is updated.

  • Identifier: this field is shown if Save score is checked. It is mandatory if displayed, and its maximum length is 100 characters. It is used, as described in the Persist score property, to identify records in the RPI_WebVisitorsScores data warehouse table.

Canvas

Unlike a realtime decision, within which the workspace is used to list decision criteria, a decision scorecard’s canvas is used to list weighted realtime decisions.

When displayed initially, a scorecard’s canvas displays a message:

You can use the Add New Weighted Realtime Decision button to add the same to a decision scorecard’s canvas. You can also add a weighted realtime decision by dragging a realtime decision from the toolbox and dropping it onto the canvas.

A weighted realtime decision has the following properties:

  • Realtime Decision: provision of a realtime decision is mandatory. You can populate the property using drag and drop, or by browsing. When a realtime decision has been selected, you can open its latest version in the Rule Designer. You can also Clear the selected realtime decision. A realtime decision must have been saved to the RPI file system to be used in a scorecard.

  • When: this dropdown field exposes values ‘Criteria met’ (the default) and ‘Criteria not met’. It specifies whether to assign a score should the selected realtime decision’s criteria be met or not met, as required.

  • Apply Weight: a mandatory decimal value.

  • Actions: this menu gives access to a single Remove option, invocation of which removes the weighted realtime decision without display of an ‘Are You Sure?’ dialog.

A validation error is raised when a weighted realtime decision is configured with a realtime decision that uses the current scorecard (thereby creating a circular reference), or when the same realtime decision is included more than once in a weighted realtime decision list.

Note that it is mandatory for a scorecard to contain at least one weighted realtime decision.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.