Adding conditions to a status modification group

The Condition Detail window allows you to create a new condition for the status modification group.

About this task

The Condition Detail window opens when you click the Create New icon, next to the Condition field, in the Status Modification Group Details window.

To create a condition for the status modification group:

Procedure

In the Condition Detail window, enter information in the following fields:
Option Description
Condition ID Enter the condition ID.
Condition Name Enter the name of the condition for the status modification group.
Condition Group Enter the name of the condition's group, if applicable. Condition Group allows you to group related conditions within the condition tree.
Static If this is checked, you must enter a condition value for the static condition.
Dynamic If this is checked, you must enter a Java™ class name that evaluates the condition at runtime.
Advanced XML If you are creating a new condition, this option is disabled as a new condition of the advanced XML type must be created using the IBM® Greex Editor IDE tool.

This option is automatically selected whenever you modify a condition of the advanced XML type.

Condition Value (if Static is checked) Click the Condition Builder icon to use the condition builder, which is where you set up the conditional value for the status modification group. You can set it up in a formulaic readout using the available symbols. You can enter your own attribute or an extended attribute if Static condition is checked. For example, if you are configuring a status modification group for the Field Sales Representative Group, use the {Enter Your Own Attribute} option in the Condition Builder to set the CurrentUserGroup attribute equal to the primary user group id for field sales.
Class Name (if Dynamic is checked) Enter the class name that implements the following Java interface: com.yantra.ycp.japi.YCPDynamicCondition
Note: To use extended attributes for a condition, implement the YCPDynamicConditionEx interface.
Condition Properties (if Dynamic is checked) Specify the custom name or value properties which are set into the condition evaluating Java class file before evaluating the condition.