Object Type Decision

Last modified: November 20, 2023

1 Introduction

An object type decision is an element that makes a choice based on the type of an object of a generalized entity. The output of the object type decision are the specialized entities that inherit from the generalized entity. For more information on specialization and generalization, see Entities.

If you want to use the specialized type in the rest of the microflow or nanoflow, you can use a Cast object activity.

2 Properties

An example of object type decision properties is presented in the image below:

The object type decision properties consists of the following sections:

2.1 Common Section

2.1.1 Caption

For more information, see the Caption section in Common Properties.

2.2 Input Section

2.2.1 Object

The input object contains an object of a generalized entity.

For example, you have an entity Student and an entity Professor which have an entity Member as their generalization. You want to open a different page for Professor than for any other Member. The selected Member object is available in the parameter SelectedMember and is used as input to the object type decision. Note that there is no outgoing flow for Student. If an outgoing flow is missing, the closest generalization that has an outgoing flow is searched. In this case, this generalization is Member. The outgoing flow with the caption (empty) is followed when SelectedMember does not contain an object.