Activities
|
|
Records can be created in various ways. You can add a new record to your application or copy an existing one. You can specialize existing rules by creating a copy in a specific ruleset, against a different class or (in some cases) with a set of circumstance definitions. You may copy data instances but they do not support specialization as they are not versioned.
Based on your use case, the Create, Save As or Specialization form is used to create the record. The number of fields and available options vary by record type. Start by familiarizing yourself with the generic layout of these forms and their common fields:
This
Create an activity by selecting Activity
from the Technical
category.
NOTE: Before creating a new activity, it is recommended that you investigate model driven alternatives that can deliver the desired results. Alternatives such as data transforms, declarative rules, and features of flows and case management can remove the need to create a new activity. The Create and Save As forms display a warning message with information about these other alternatives.
An activity has two key parts:
Field |
Description |
Apply to |
Select the class to which this activity applies. If your activity is to be referenced in a flow, identify a work type (the Work- class or a class derived from the Work- base class). The list of available class names depends on the ruleset you select. Each class can restrict applying rules to an explicit set of rulesets as specified on the Advanced tab of the class form. |
Identifier |
Enter a name for this activity, starting with a letter and containing only alphanumeric and dash characters. Choose a name that is unique within the Apply to class. The name must be a valid Java identifier; see How to enter a Java identifier. The length of the class name plus the length of the Identifier cannot exceed 128 bytes. |
Referred to as Quick Create options, the fields presented in this area of the Create form are optional. Selections made here can be used as a starting point for the rule you are creating:
Field |
Description |
Template |
Select a template activity name to automatically set the activity type (and in some cases add pre-populated steps to the form):
|
When searching for instances of this rule type, the system uses full rule resolution which: