Module 07 - Configuring Business Rules Flashcards

1
Q

What are Business Rules?

A

Lets a system customizer with no programming skills apply conditional logic to a form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What can you use Business Rules to display to the user to remind them?

A

Can use them to display error messages to remind user of rules defined by the business process, and prevent them from saving a record until the issue is resolved.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the scope of the business rule?

A

When you configure a Business Rule you can select the form that the rule is used for. Scope can be set to apply the rule to all forms, or just one form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the portable business logic feature?

A

Business Rules are enforced when forms that are in scope are used, whether in web browser or Mobile. The rules apply to different platforms without having to be written in different ways.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Business Rules are configured to apply what kind of logic to the data in CRM?

A

Client side logic. Instead of using processes or custom code that runs on the server, the rules apply to data that a user enters or modifies in a form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What can you configure a Business Rule for?

A

All forms for an entity, or only one form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What must you do to apply a Business Rule to several forms, but not all?

A

Create a copy of the rule for each form, by opening rule and save as > enter new name. You’ll also have to activate a Business Rule before the logic takes effect.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Each form can have how many Business Rules associate with it?

A

Zero, or several, as rule applies to all forms for the entity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When is an active Business Rule activated?

A

Each Business Rule associated with a specific form is evaluated when that form is loaded or value changes in a field that is included in a condition defined in the rule.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What happens if the value on the field matches a condition when the form is opened or the value is changed?

A

The actions that are defined in the rule will be applied.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When a record is saved are Business Rules run again?

A

No.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What happens if a Business rule includes a condition or an action that has a reference to a field not displayed on a form?

A

The rule will not run, an error is not created, so it may not be readily apparent it is not being applied.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

How do you create / view / edit Business Rules?

A

4 ways: Business rules from Solution Explorer below entity node / Business rules from list of fields for entity / Business Rules from Field Properties on a form / From an open form to display Business Rules explorer

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What Status is the Business Rule on creation?

A

It has a Status of Draft and does not affect users working in the system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

How can you test a Business Rule?

A

Open the form in designer and use the Preview. Activated rules and draft Business Rules are applied to the preview of the form.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How to apply the logic in a Business Rule?

A

Must save changes, and activate it.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What can’t you do to an Activated Business Rule?

A

You cannot modify or delete it. You have to deactivate it to turn it to a draft before editing.

18
Q

What must you do at least once before activating a Business rule?

A

Save it.

19
Q

What if you want to create a new rule similar to an existing one?

A

Open an existing and Save As to create a copy. Fast method to reverse rule.

20
Q

Why is a Description to a Business Rule optional?

A

It isn’t displayed anywhere in the UI except for in the editor. Though recommended as it will help other customizers who are working on the system.

21
Q

What happens if you select All Forms as the scope of a Business Rule?

A

It will apply to all forms with a form type of Main or Quick Create. You cannot select the scope to only apply to Quick Create forms.

22
Q

What are conditions in a Business Rule?

A

Conditions define the fields that will cause the rule to be triggered, and evaluate to determine whether the actions are configured in the rule should be performed.

23
Q

What must the conditions all evaluate to in order for the actions to be applied?

A

All conditions must evaluate to “true”. (logical AND)

24
Q

What can you not configure a rule to use conditions for?

A

A logical OR, but you can apply several rules to achieve the same result. Recommend copying.

25
Q

How do add a condition to a Business rule?

A

Create Business Rule/Open Existing > ensure deactivated > add a condition > select field trigger > select logical operator > depending on type, enter in necessary > click checkmark to save

26
Q

What are types of conditions you can select?

A

Field - to compare value of form field to another field. Value - to compare value of form field to a value. Formula - compare result of simple calculation to value in a form or value you enter.

27
Q

How many conditions can you expand at the same time?

A

Just one.

28
Q

How to add an action to a Business rule?

A

Open/Create Business Rule > if Activated Deactivate > +Add an action > select Action opens > fill out rest > click blue check mark to save changes > add more than one action is possible

29
Q

What are some Business Rule Actions?

A

Show error message, set field value, set business required, set visibility, lock or unlock field.

30
Q

When should you use the Show Error Message action?

A

When data in field is not valid. Error cannot be saved. If field is changed so rule is triggered and reevaluated, condition is no longer true, error will be dismissed.

31
Q

What happens if you use an action in a Business rule to set the value of the field?

A

The OnChange event handlers for that field will not run. Consider your JavaScripts and what they trigger off of.

32
Q

What does the Set Field Value action do?

A

Sets the field to field, value or formula, applies it to field as configured or defined.

33
Q

What does the Set Business Required action do?

A

Use to change the requirement level for the field. Only tow options ; not Business Required and Business Required

34
Q

What does the Set Visibility action do?

A

Change whether the field is displayed in the form. Show field/hide field.

35
Q

What does the Lock or unlock field action do?

A

Use to change whether field is enabled in form. Lock is read only, and unlock.

36
Q

What should you be aware of when using Set Business Required, Set visibility or Lock/Unlock field?

A

You might need a reverse rule to set the property back if the opposite condition is true.

37
Q

How can you configure a Business Rule so that it applies to the Quick Create form for an entity?

A

Set scope to All Forms, it will apply to all forms with form type of Main or Quick Create.

38
Q

What is not an action that you can configure for a Business rule?

A

Set field value on the parent Customer record.

39
Q

What is not an area of the System where you can access Business Rules?

A

Processes node in solution explorer.

40
Q

You have a business requirement to create a Business Rule that will only be applied to two forms that are used by different teams, and not the main form that is used by the rest of the business. What steps should you take to achieve this?

A

Create the Business Rule for one of the two forms. Test it in Preview. Copy the rule and set the scope for the second form used by the second team. Make sure to Save and Activate.