Free cookie consent management tool by TermsFeed

Manage Business Rules

On This Page
The capabilities described on this page are included in Appian's advanced and premium capability tiers. Usage limits may apply.

Overview

In the Business Rules tab, you can define business logic in a clear, straightforward language that's easy for everyone on your team to understand. This capability allows you to define and manage your business rules, making your application more transparent and easier to maintain. The initial setup of business rules is automated, letting you focus on the core logic that powers your application. Composer analyzes your application requirements and displays the suggested business rules.

You can review and refine the Composer-suggested list of business rules to verify they align with your team's needs. This ensures your work is well-documented and easy for you and others to understand. Once finalized, Composer can also create the corresponding expression rules design objects. Each business rule you defined corresponds to a single, unique expression rule. This capability provides a valuable starting point for your application development.

After you generate an expression rule from the business rule, edit the expressions and define new rule inputs as needed for your use case. All new expression rules are automatically placed in your application's default rules folder, inheriting its security settings to keep your design objects organized and secure.

In the Business Rules tab, you can:

Considerations

As you begin using the business rules tab, there are a few things to keep in mind about how it operates:

  • The Composer suggested business rules list won't update automatically if you change your application requirements, but you can manually edit the business rules.
  • When you generate objects, Composer creates the matching expression rule objects for each business rule. You can then reference these expression rules in your process models and throughout your application.

Review the suggested business rules

Open the Business Rules tab to display the list of rules generated by Composer.

The list shows four key details for every business rule:

  • Name: A unique, system-generated name for the rule.
  • Description: A short, high-level summary of the rule's purpose.
  • Natural language logic: The core of the rule, written in a clear, human-readable format. For example: "If the order total is over $100, then apply free shipping." Review the business rule logic by clicking Expand All or expanding each rule individually.
  • Object: Link to the generated expression rule design object. After Composer generates all objects, you will see a link to the corresponding expression rule beside each business rule.

Scroll or drag to pan · ⌘+/⌘− to zoom · Esc to closeimages/automation/Business_Rules_Tab.png

Add new business rules

To add a new business rule:

  1. Open the Business Rules tab.
  2. Click ADD RULE.
    Result: The Add Business Rule dialog displays.
  3. Enter a name for the business rule in the Name field.
  4. In the Description field, enter a high-level summary of the rule's purpose.
  5. Next, explain the rule logic in detail in the Business Rule Logic field.
  6. In the Mapped Objects field, search for and select an existing expression rule that corresponds to this Business Rule.
  7. Click ADD.
    Result: The new rule displays on the Business Rules tab.

Edit business rules

To edit a business rule:

  1. Open the Business Rules tab.
  2. Click the pencil icon on the rule you want to edit.
    Result: The Edit Business Rule window displays.
  3. Edit the name, description, business rule logic, and map it to expression rules.
  4. Click SAVE CHANGES.

Scroll or drag to pan · ⌘+/⌘− to zoom · Esc to closeimages/automation/Edit.Business_Rule.png

Delete business rules

To delete a business rule:

  1. Open the Business Rules tab.
  2. Click on the trash can icon next to the business rule you want to delete.
    Result: The delete business rule confirmation pop-up appears.
  3. Click DELETE.

Tip:  Next, learn how to manage the data model to define the structure and relationships of your application's data.

Feedback