In this topic Hide
This page is used to set rules for alerts. Alerts notify chief investigators, project managers or office staff when specific conditions arise so that issues can be addressed. For example, a rule could be defined to display when the institution is providing cash and in-kind in excess of 50% of the project cost. A list of applicable alerts will display at the top of selected CPT pages when the conditions of one or more defined rules are met.
Rules will be evaluated against projects based on input or changes made in an eForm when the Costing Status is Valid. A Valid status means that there are no validation issues with project input, and the tool has calculated the cost and price at least once. This status is shown in the Costing Status field in an eForm. This is commonly part of a costing and pricing summary page along with the Costing and Pricing Tool button to enter the tool.
Alerts are aggregated. If more than one applies to a project, they will all appear in the list shown at the top of selected CPT pages. This list will also appear on eForm pages that include the read-only Costing and Pricing Tool Alerts (ALERTS) system field in an eForm template.
• Knowledge of eForm design and elements is required to be able to select the elements to use in rules.
• Understanding of mathematical operators and formula construction is required for rule definition.
To add a new alert, follow the steps below:
1. In RME > Projects > Funding Rules > Alert Configuration page, ensure that the common alert configuration has been completed, as outlined in the table below. These settings apply to all alert rules.
Field |
Description |
Alert Header |
Common heading used for the alert list that will display in defined CPT pages when conditions of defined rules are met |
Show in CPT page |
Costing and Pricing Tool pages on which the list of applicable alerts will appear
|
2. In the Alert Rules section, click Add at the top right of the grid. The Alert Rule page displays.
3. In the Rule Name field (mandatory) of the Alert Rule page, enter a name for the alert so that is can be easily identified and distinguishable from other rules.
4. Ensure that the Current? flag is Yes so that the rule will be active and evaluated for CPT eForms.
5. In the Alert Message field (mandatory), enter the message to display in the alert list on defined CPT and eForm pages. As this may appear on many pages, make sure that the message can be clearly understood by your users without the context of a particular page.
6. The Alert Rule field (mandatory) is used to build the condition/s under which the alert should display.
• Each condition includes at least one element (field, DDA or numeric expression), an operator, and at least one other element.
• A rule can comprise of one condition, or more than one condition, using an operator between each (AND, OR). To expand a rule, you can add another condition line. You can add more than one, as needed.
• You can also group conditions to form a sub-condition to which you can apply a different operator.
• This is a highly-flexible rule builder. The instructions below are at a high level - you can add as many conditions and groups as you wish, with different operators. Take care in constructing rules as there is no system validation for conditions or rule due to dynamic and custom nature of eForm templates. Be wary of creating very complex rules as they may be difficult to test, manage or maintain. For guidance, see the Examples section below or contact the ResearchMaster Client Engagement Team.
7. To start building
the rule, in the first dropdown, select the eForm element you want to
use, from a field, DDA, or a numeric expression, as outlined in the table
below.
The dropdown then dynamically displays options based on your selection.
Option |
Description |
Field |
List of fields used in CPT eForms, including custom fields When you select a field, relevant options display in a dropdown underneath. Select an option. Relevant operators display in the next field. Go to step 8 below. |
DDA |
List of Dynamic Definition Areas used in CPT eForms where the Use in Alerts check box in Element properties is set to Yes in RME Designer. This will not include DDAs with the following formats: Check box, Document, and Formula. When you select a DDA, relevant options display in a dropdown underneath. Select an option. Relevant operators display in the next field. Go to step 8 below. |
Numeric Expression |
Allows numbers to be used in conditions via the Number option, and automatically adds an extra [element - operator - element] block to expand the line For example, by default a condition contains: [element] [operator] [element] For a Numeric Expression, it contains: ([element] [operator] [element]) [operator] [element, which can be a number] If you want to include even more elements for the one condition, you can add another Numeric Expressio to extend the line. Refer to the Examples section below. |
8. In an operator
field, select the math or comparison function for the condition from the
options that dynamically display based on your previous selection.
Possible options are described in the table below.
Operator |
Description |
= |
Equal to |
< |
Less than |
> |
Greater than |
<> |
Either less than or greater than |
<= |
Less than or equal to |
>= |
More than or equal to |
AND |
Apply the rule to projects that match all of the elements defined in the condition or group AND between conditions or groups will add them all together. The system will look for projects that match all of them and then applies the rule. Think of it as a kind of formula where each line defines an integral part of the rule and these are added together. |
IN |
Compares the value in the element to the left of the IN operator to several defined elements, so it can apply the rule if any of the elements match a project This is an more concise way of defining an condition with more than one value. For example, if you want to create a rule that applies to grant, application or expression of interest project types, you could construct the condition as: [Field: Project Type] IN [Option: Grant] [Option: Application] [Option: Expression of Interest] This is instead of creating separate lines using traditional operators, such as the following for the same condition: [Field: Project Type] = [Option: Grant] OR [Field: Project Type] = [Option: Application] OR [Field: Project Type] = [Option: Expression of Interest] |
OR |
Apply the rule to projects that match any of the elements defined in the condition or group OR between conditions or groups will apply the rule when either apply. The system will look for projects that match the first one and apply the rule, and then the second one and apply the rule, and so on. |
NOT |
Apply the rule to projects that do not match the elements defined in the condition or group |
NOT IN |
Compares the value in the element to the left of the NOT IN operator to several defined elements, so it can apply the rule if any of the elements do not match a project This is an more concise way of defining a condition with more than one value. For example, if you want to create a condition that does not apply to grant, application or expression of interest project types (so, applies to all other types), you could construct the condition as: [Field: Project Type] NOT IN [Option: Grant] [Option: Application] [Option: Expression of Interest] This is instead of creating separate lines using traditional operators. |
9. In the next dropdown, select Option to display a list of options based on the selection in the first dropdown. If a Numeric Expression, repeat steps 7 to 9 to complete additional condition options and operators.
10. If you need to define more conditions for the rule, add a new line by selecting the Add Condition option at the top right. The operator between the initial condition and new one is AND by default. You can change this to OR by clicking the field down arrow.
11. If you want to add a new group to contain one or more conditions, select the Add Group option at the top right. This create a parenthesis to the rule formula. It is useful, for example, if the rule includes multi-line conditions and you want to use different operators between a group of them. For example: (group 1 - multiline using AND) OR (group 2 - multi-line using AND)
12. To remove a condition, select the red cross (x) displayed at the end of the condition fields.
You manage alert rules in the Funding Rules page. You can delete rules and export the grid details (Current?, Alert Message and Rule Name).
Non-institution led ARC or NHMRC projects where the institution contribution is more than 30% of the total cost.
Alert Rule | |||||||
AND |
DDA Institute Led? |
Operator = |
Option No |
||||
Field Type |
Operator = |
Option Grant |
|||||
OR |
|||||||
DDA Is ARC? |
Operator = |
Option True |
|||||
DDA Is NHMRC? |
Operator = |
Option True |
|||||
Numeric Expression x 2 (selected twice to add more elements) |
|||||||
Field Institution Cash Contribution |
Operator + |
Field Institution In-kind Contribution |
Operator / |
Field Total Cost |
Operator > |
Number 0.3 |
|
Rule expression |
Note that this example displays generic DDA IDs; in your rule it would show the ID of the DDA elements from your RPR eForms. ((DDA ID - Institute Led? = No) AND (Type = Grant) AND ((DDA ID - Is ARC = True) OR (DDA ID - Is NHMRC = True)) AND ((((Institution Cash Contribution + Institution In-kind Contribution) / Total Cost) > 0.3))) |
The institution is providing cash and in-kind in excess of 50% of the project cost.
Alert Rule | |||||||
AND |
DDA Institute Led? |
Operator = |
Option No |
||||
Field Type |
Operator = |
Option Grant |
|||||
OR |
|||||||
DDA Is ARC? |
Operator = |
Option True |
|||||
DDA Is NHMRC? |
Operator = |
Option True |
|||||
Numeric Expression x 2 (selected twice to add more elements) |
|||||||
Field Institution Cash Contribution |
Operator + |
Field Institution In-kind Contribution |
Operator / |
Field Total Cost |
Operator > |
Number 0.5 |
|
Rule expression |
Note that this example displays generic DDA IDs; in your rule it would show the ID of the DDA elements from your RPR eForms. ((DDA ID - Institute Led? = Yes) AND (Type = Grant) AND ((DDA ID - Is ARC = False) OR (DDA ID - Is NHMRC = False)) AND (((Institution Cash Contribution + Institution In-kind Contribution) / Total Cost) > 0.5)) |
Page layout: Can only customise field properties; default layout cannot be changed
Product Key: Costing and Pricing Tool
Page ID: CPT027.htm