Rulesets Flashcards

Starting a Pega 7 Application Introduction to RuleSets Working with Branches Rule Resolution Enterprise Class Structure Circumstancing Reusability and Specialization

1
Q

What are the restrictions for a branch name

A

1: have to start with a letter, 2: can contain only alphanumeric or dash characters 3: max 16 character long can be

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

What is a ruleset?

A
  • a container - an organizational structure - used to identify store and manage a set of rules - group rules together for deployment - major subset of rules - major aspect in access control, grouping interrelated rules, managing rules and moving applications - an application is comprised of a list of rulesets - a fundamental building block of an application
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which rule types does not belong to a ruleset version?

A
  • Application - Class - Ruleset - Ruleset Version - Access of Role to Object - Access Deny - Library
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What have to be set up to be able to use check out functionality?

A
  • For Operators: “Allow Rule Check out” on Security tab - For Ruleset: “Use check-out?” on Security tab
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Private edit is good for?

A

prototyping or test changes a rule that is not available for standard check out.

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

Which privilege is required to do private edit?

A

pxAllowPrivateCheckout (PegaRULEs:Sysadm4 standard access role provides this privilege)

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

Where can you see all checked-out rules?

A

Development landing page (DesignerStudio > Application > Development > Checked Out Rules)

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

Where can you see your private edits?

A

Private Explorer (Checkmark icon on the header)

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

Where can you see checked in comments?

A

History tab of the Rule

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

How can a privately edited rule be checked in into a locked ruleset?

A

It’s not possible: We need to select an unlocked ruleset version in which we want to check-in the private edit.

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

What bulk action is doing?

A

check-in, open, or delete several checked out rules at the same time

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

Rulesets could have prerequisites?

A

No, ruleset always have at least one ruleset as a prerequisite.

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

System assembles a complete required ruleset version list from …

A
  • All ruleset versions on this list - All ruleset versions listed as prerequisites for those ruleset versions - All lower-numbered ruleset versions of this ruleset and the rulesets included in the same major version
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which ruleset you should use as a prerequisite if your ruleset dependent on only Pega 7 base Rules?

A

Pega-ProcessCommander:07-10-99

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

How you can avoid having to update the ruleset after product updates?

A

Use 99 patch version

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

Ruleset prerequisites are validated when …

A
  • when we save a rule - at import
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

You have to list all the direct prerequisites and the prerequisites of the parents as well for every ruleset. (True/False)

A

False, if you save a rule into Delta:01-01-01 which depends on Alpha:02-01-01, and Alpha:02-01-01 depends on Beta:02-01-01, only list Alpha:02-01-01 as a required ruleset for Delta:01-01-01. There’s no need to list Beta:02-01-01 because it is already listed in Alpha:02-01-01.

18
Q

Rule resolution will always check all the versions of the prerequisite rulesets. (True/False)

A

False, Rules in versions below the major version are not visible to rule resolution. For example, if you list Alpha:02-01-01 that depends on Beta:02-01-01, Alpha:02-01-01 won’t see rules in Beta:01-XX-XX.

19
Q

Ruleset prerequisites are governing

A

development and import

20
Q

Ruleset list governs

A

rule execution at runtime.

21
Q

Ruleset prerequisites are validated in runtime as well. (True/False)

A

False, Because ruleset prerequisites are enforced during development, the system does not need to validate them during runtime processing

22
Q

Where you can see the ruleset list of a user?

A

Operator menu > Profile

23
Q

Ruleset order in the ruleset list has no importance.

A

False, The order of the rulesets is important as it is used by the rule resolution algorithm. We generally refer to the rulesets with higher precedence as being “on top” of those with lower precedence.

24
Q

Ruleset list is assembled when you start a case type.

A

False, The list is assembled during login.

25
Q

Where system starts looking for ruleset references?

A

The process starts by finding the versioned application rule referenced on the access group of the operator.

26
Q

Privately checked out rules and the personal ruleset is not listed in the ruleset list.

A

False, If the operator is allowed to check-out rules a personal ruleset is added at the very top of the list. The personal ruleset has the name of the operator ID.

27
Q

A ruleset is typically locked when …

A

development is finished and the application is moved to the test environment.

28
Q

You can always unlock a locked ruleset.

A

It is best practice to never unlock a locked ruleset. If changes are required to a locked ruleset, create a new patch version of the ruleset That way consistency is ensured across environments.

29
Q

You can always go back and change an old ruleset version if you have identified a defect.

A

Development should occur only in the highest version of a ruleset and only that version should be unlocked.

30
Q

A ruleset version can be locked even if some rules in it are checked out.

A

False, A ruleset version cannot be locked if any rules in that version are checked out.

31
Q

What is Ruleset Stack tab for?

A

The RuleSet Stack tab on the Application Structure landing page (DesignerStudio > Application > Structure > RuleSet Stack) helps in following the best practices of ruleset locking and versioning. Available functions: Package & Roll Lock & Roll

32
Q

Checked out rules will prevent you to increment a ruleset? (True/False)

A

True, We can use the Lock and Roll feature to lock and roll (increment) versions in a single step. Before using the Lock and Roll we need to make sure that there aren’t any rules checked out.

33
Q

You should never skip any number when you increment patch number of a ruleset. (True/False)

A

If the last release built was promoted to testing or production it might be worth considering skipping a few patch numbers reserving those for emergency fixes. For example, consider the following situation. Ruleset version 01-02-04 was promoted to QA and then production. The next release with a few new features is planned to go into production in two weeks. The development of the next release is done in 01-02-10, reserving 01-02-05 to 01-02-09 for emergency fixes.

34
Q

List all tools which help managing rulesets

A

Copy/Merge RuleSet tool Delete a Ruleset tool Skim a Ruleset tool Rulebase Compare tool

35
Q

What is Rulebase Compare tool for?

A

to identify differences in the rules on two different systems

36
Q

What is Skim a Ruleset tool for?

A

collects the highest version of every rule in the ruleset and copies them to a new major or minor version of that ruleset on the same system, with patch version 01. Consider a skim for each major application release.

37
Q

What Detele a Ruleset tool for?

A

allows us to delete an entire ruleset or a specific version of a ruleset. Consider the effect before of deleting rulesets that has been promoted to production.

38
Q

What is Copy/Merge Ruleset tool for?

A

to copy rulesets and ruleset versions into new versions or to merge several ruleset versions into one version.

39
Q

What is Lock and Roll tool for?

A

lock and increment versions in a single step

40
Q

What is Package and Roll tool for?

A

to package and prepare the ruleset to copy to another server