Classic quoting templates

When creating a classic quoting rule in BriteRules, you will need to choose a template, which includes scope formula items and formula syntax.

Note: The STP rules are implemented only for new business and endorsement quotes. The STP rules won’t work on renewal transactions.

Templates

BriteRules has two classic quoting templates:

  • STP – Accept if
  • STP – Reject if

STP – Accept if

The STP – Accept if template creates a rule for STP, where the STP is allowed if the condition is met. It won’t refer the quote if the given condition is met.

Arguments:

  • Rule ID: A unique identifier for the STP Rule.

    Note: Follow the existing rule identifier format the client uses.

  • Scope: Indicates the scope this rule is running under. There are three scopes:
    • Quote: This runs only once to check if the filter matches the quote information.
    • Property: This runs once per property to check if the filter matches the property information.
    • Subline: This runs once per subline to check if the filter matches the subline information.
  • Filter: This is the condition applied to the rule. The scope determines the elements you can use in the formula.
  • Message: The message users see if the rule is rejected.

STP – Reject if

The STP – Reject if template creates a rule for STP, where the STP is allowed if the condition isn’t met.

Arguments:

  • Rule ID: A unique identifier for the STP Rule.

    Note: Follow the existing rule identifier format the client uses.

  • Scope: Indicates the scope this rule is running under. There are three scopes:
    • Quote: This runs only once to check if the filter matches the quote information.
    • Property: This runs once per property to check if the filter matches the property information.
    • Subline: This runs once per subline to check if the filter matches the subline information.
  • Filter: This is the condition applied to the rule. The scope determines the elements you can use in the formula.
  • Message: The message users see if the rule is rejected.

Scopes formula items

The classic quoting templates contain three scope options:

  • Quote
  • Property
  • Subline

Quote


	policyInceptionDate=”yyyyMMddhhmmss”

	policyWideCategories

		.<<categoryName>>.value

	policyWideItems

		.<<itemName>>

			.categories

				.<<categoryName>>.value

			.deductible=0.0

			.limit=100

			.premium

			.questions

				.<<questionName>>.value

	.policyWideSublines

		.<<sublinename>>

			.categories

				.<<categoryName>>.value

			.deductible=0.0

			.limit=100

			.premium

			.questions

				.<<questionName>>.value

	.underwritingQuestions

		.<<questionName>>.value

Property


  lossRecords ??

  replacementCostValue=12.2

  categories

  	.<<categoryName>>.value

  items

  	.<<itemName>>

  		.categories

  			.<<categoryName>>.value

  		.deductible=0.0

  		.limit=100

  		.premium=100

  		.questions

  			.<<questionName>>.value

  .sublines

  	.<<sublinename>>

  		.categories

  			.<<categoryName>>.value

  		.deductible=0.0

  		.limit=100

  		.premium=100

  		.questions

  			.<<questionName>>.value

Subline


	categories

		.<<categoryName>>.value

	.deductible=0.0

	.limit=100

	.premium

	.questions

		.<<questionName>>.value

Formula syntax

A formula is a one-line condition that supports logical and arithmetical operations.

Example formulas:

  • #limit > 100
  • #categories.Rating.value = 100
  • #categories.`Rating Information`.value = 100
  • #items.`My Item`.limit > 10000 & #items.`My Item`.limit < 11000
  • #items.`My Item`.questions.`My question`.value = “Yes”
  • bc.ageFromYear(#items.`Rating Information`.categories.`Year Built`.value) > 10
  • #items.`My Item`.questions.`My question`.value = “Yes” || #items.`My Item`.questions.`My question 2`.value = “Yes”

You can use the following tools:

  • bc.ageFromYear(yearNumber)
  • bc.notNullOrEmpty(element)
  • bc.isNullOrEmpty(element)
  • bc.str(element)