Groovy Business Rule Tutorials

Complete these tutorials for hands-on examples on implementing Groovy Business Rules.

Implement Groovy: Basic Tasks

Your Goal Learn How

Learn about the Groovy scripting language and how to create a Groovy script for your business process in Oracle Enterprise Performance Management Cloud.

Tutorial icon Introduction to Groovy Business Rules

Implement Groovy scripts to work with data grids and data grid iterators.

  • Use conditional logic to set the background colors in a data grid

  • Implement performance benchmarking

  • Set default data values in a grid

Tutorial icon Working with Data Grids and Iterators in Groovy

Create a Groovy script to work with business process metadata, in this case, moving a member from one parent to another. The script includes RTPs to prompt users for input.

You'll also learn how to create a right-click action menu with a menu item to call the script, and how to associate the action menu with a data form.

Tutorial icon Moving Dimension Members with Groovy

Push data from a source location to a target location using Groovy rules and Smart Push.

Tutorial icon Moving Modified Data Using Groovy and Smart Push

Implement Groovy: Advanced Tasks

Your Goal Learn How

Implement a Groovy script that validates data entry against allowed ranges stored in a driver cube.

Tutorial icon Validating Data Entry Rules with Groovy

Create a Groovy script to work with business process metadata, in this case, adding a member to a dimension. The script includes RTPs to prompt users for input.

You'll also learn how to create a right-click action menu with a menu item to call the script, and how to associate the action menu with a data form.

Tutorial icon Adding Dimension Members with Groovy

Generate focused calculation scripts in your business process to calculate only data that has been edited, instead of the entire data entry form.

Tutorial icon Calculating Modified Data Using Groovy

Understand Strategic Modeling concepts and learn how to integrate data between strategic models and business process applications using Groovy scripts.

Tutorial icon Integrating Data between Planning and Strategic Models Using Groovy

Create a Groovy template with interactive Design Time Prompts (DTPs).

Tutorial icon Creating Groovy Templates

Learn how to use a Groovy business rule in the business process to export dimension metadata from EPM Cloud, and then import the metadata into the business process.

Tutorial icon Integrating Dimension Metadata from Enterprise Data Management Cloud with Planning Using Groovy Rules

Implement Groovy: REST API

Your Goal Learn How

Call a Data Management REST API to execute a data load rule that will load the latest product volumes for the user’s entity into the business process.

Tutorial icon Calling an Internal REST API Using Groovy

Call an external Rest API from a Groovy script in your business process.

You'll also learn how to create a right-click action menu with a menu item to call the script, and how to associate the action menu with a data form.

Tutorial icon Calling an External REST API Using Groovy