QualityKnowledge

Configure Quality Project Management > Customize RYG rating behavior

About customizing RYG rating behavior in Quality Project Management

The red, yellow, green (RYG) ratings are used at the program, project, subproject, event, checklist, and question level to indicate the status of the various criteria.

The default rating behavior is follows:

  • If the question is mandatory, the system automatically assigns an RYG color to it when it is answered. For example, based on the default rules, if the mandatory question is answered with a no, the RYG object automatically becomes red. Further, if there is a quality action associated with it, it becomes yellow. Similarly, if the answer is a yes, it becomes green.

  • The RYG ratings of the questions are rolled over to the checklist to indicate the status of the checklist. For example, if a checklist has five questions, and all the four questions are answered with a yes (green) and one is answered as no (red), the RYG object of the checklist becomes red based on the default rules. Similarly, if all the four questions are green, and one has a quality action associated with it (yellow color), the RYG object of the checklist becomes yellow.

  • The RYG ratings of the checklists are rolled over to the event to indicate the status of the event. For example, if all the checklists are green or have null values, the RYG object of the event becomes green. The RYG object of the event becomes yellow or red if one of the checklists is yellow or red, respectively. Similarly, a plan level can have multiple events. The RYG ratings of the events are rolled over to the plan level and its status is similar to events.

BMIDE business object constants are used to control RYG ratings. You can edit the following business objects to control the RYG rating behavior.

  • The Psi0ChecklistQuestion business object contains the Apm0RYGAssessmentRuleGreen and Apm0RYGAssessmentRuleRed business object constants that control the assessment rule for the checklist question business object. In addition, it contains the Apm0RYGThresholdOfYellowGreen and Apm0RYGThresoldOfRedYellow business object constants that determine the RYG rating.

  • The Psi0Checklist, Prg0AbsPlan, and Prg0AbsEvent business objects contain the Apm0RYGThresholdOfYellowGreen and Apm0RYGThresoldOfRedYellow business object constants that determine the RYG rating.

Scenario 1 for RYG rating behavior

Let us assume that there are 10 questions in a checklist of which 5 are green, 3 are yellow, and 2 are red. The values of the business object constants are set as follows:

  • Apm0RYGThresoldOfRedYellow to 2

  • Apm0RYGThresholdOfYellowGreen to 3

In such a scenario, the final checklist rating is Red because Apm0RYGThresoldOfRedYellow is set to 2.

The precedence by which the system checks for conditions to be met is Red, Yellow, and Green.

Scenario 2 for RYG rating behavior

Let us assume that there are 10 questions in a checklist of which 8 are green, 1 is yellow, and 1 is red. The values of the business object constants are set as follows:

  • Apm0RYGThresoldOfRedYellow to 2

  • Apm0RYGThresholdOfYellowGreen to 3

In such a scenario, the final checklist rating is Green because the Apm0RYGThresoldOfRedYellow constant for the yellow or red condition is not achieved.

Scenario 3 for RYG rating behavior

Let us assume that there are 10 questions in a checklist of which 6 are green, 3 are yellow, and 1 is red. The values of the business object constants are set as follows:

  • Apm0RYGThresoldOfRedYellow to 2

  • Apm0RYGThresholdOfYellowGreen to 3

In such a scenario, the final checklist rating is Yellow because the Apm0RYGThresoldOfRedYellow constant is set to 3.

Source: https://docs.sw.siemens.com/en-US/doc/282219420/PL20251212545240207.quality_project_management_deployment_administration/xid2210515 · retrieved 2026-07-11