Assignment Template

  • Updated

The Assignment template allows users to create an alternate language template to assign value to a field. In other words, it is a user customized form of the "Set Value of a Field" template.

Consider the following rule authored in normal Business Language templates:

mceclip19.png

An example of using the finished Assignment template in a language rule might be as follows:

mceclip20.png

Here is how this template would be defined:

mceclip21.png

Here are the possible settings on this screen:

Name

Specifies the name of the vocabulary template. The name is used for irSDK access.

Display Name

Name of the template to be displayed in the business language template list.

Menu Group

Menu group under which the template will be listed. The user can choose to add his template to an existing menu group or can create his own menu group.

Scope

The scope of the template availability can be limited to only the context of the previously selected entity by checking "Available in rules and calculations for this entity." The availability can also be extended to those rule elements which have a reference to the previously selected entity by checking "Available in rules and calculations for entities referencing this entity."

Placeholders

The placeholders created in business language are configured here. For a detailed description of placeholders refer to "Configuring Placeholders".

Business Language

Business language to be displayed in the business language editor. Placeholders can be added to the template by enclosing them within $ symbols.

Target Expression

Target to which the value has to be assigned. It can be a field or a placeholder.

Value Expression

Value to be assigned to the target. It can be a magic number or an expression. Placeholders can be used in these expressions. (e.g., 1000 or 2*3.14 * $radius$).

Was this article helpful?

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.