Creating Rules for Models

As an administrator, learn how to add business logic rules to a model when certain conditions are met before the execution of a Just Ask query.
Beginner
April 23, 2024

Introduction

As an administrator, you can add business logic rules to a model if and when certain conditions are met.  The rules are applied before the execution of the Just Ask question.

Create a New Rule

To create a new rule for Just Ask:

1

Click Manage Models within Just Ask.

2

Select the All Models tab and then click the More Options for the desired model.

3

Ensure that the Rules tab is selected and then + Add Rules to create your first rule.

Set Rule Conditions

4

Enter a name for the specific rule in the text field provided.

5

Expand the drop-down menu to define the rule’s criteria.

6

Based on what was selected in the first drop-down menu, you will then need to continue to refine your criteria in the second drop-down menu.

Note

You can add additional criteria to the rule by clicking the +And button.  This will add a new row.

7

Click Next to continue to the next step.

Specify Rule Actions

In the second step, you will need to define the rule actions (based on the rule conditions set in the previous step). 

These actions can be:

  • Include
  • Exclude
  • User Filters
  • Be Sorted

To specify rule actions:

1

Select the action for the rule (e.g., include, exclude, user filters, or be sorted).

2

Select the objects to include, exclude, filter, or sort based on prior selection, and then click Select.

3

Once you have defined all rule actions, you can click the Next button.

Review Rule

Once you have set the rule conditions and specified rule actions, you will need to review your selections and then save the rule.

Review and Edit Rules

Once your first rule has been created, you will see it populated in the Rules tab and in the Manage Rules section.

If you need to edit the rule, click the Pencil icon. If you need to delete the rule, click the Trash icon.

Run Test Rules

In the Test Rules section, you can run a test of your rule to see if the applied rules have any conflicting actions.

Learning Path

Enroll Today!

We don't currently have a course on this subject but you better believe we're working on one. Check out what else we have available by pressing here!

Fallback Image

Next

Next Article

Previous

Previous Article

See What's New

Featured Articles

Our most recent and proudest works, ready to make your life a little bit easier.

SAP Analytics Cloud

SAC Key Features & Capabilities

Let’s learn about the key features and capabilities of SAP Analytics Cloud.

Datasphere

Creating a Space

Spaces are the areas where all data is retrieved, prepared and modeled. This article will walk you through creating a space in Datasphere.

SAP Analytics Cloud

Adding a Table (Datasphere Dataset)

Learn how to insert a table based on an existing SAP Datasphere dataset.

Curated For You

Article Recommendations

Here are some articles handpicked by our experts to help you continue your learning journey.

SAP Analytics Cloud

Asking Questions and Viewing Results

Learn how to start using the Just Ask feature and view results.

SAP Analytics Cloud

Modifying Results and Display Options

Learn how to modify your results and display options after using the Just Ask feature.

SAP Analytics Cloud

What is Just Ask?

Learn how to use Just Ask, a feature which enables you to search your data easily and efficiently using business terms you are familiar with.
New SAP Boosters!

Learn all about user and data security in SAP Analytics Cloud as well as SQL scripting in SAP Datasphere.

Contact Us

Reach out if you have any questions or to see how we can create a custom training solution for your organization!

Contact Form Pop-Up - General Use

Custom Training Solution

Fill out and submit the form below, and we’ll reach out to you to discuss how we can work toward achieving your training goals in a way that works best for you and your team.

Contact Form - Custom Training