# Selectors

A selector is a special tool that allows you to apply the desired object to the current node, structure, or entity. Different types of selectors are used for different purposes.

## Structure Selector <a href="#structure-selector" id="structure-selector"></a>

This type of selector is used to assign a data type to a property other than the most simple data types, or when the user needs to apply a complex or custom type. For example, this may be in flow parameters or for complex, layered data models in structures. This is necessary if the user wants to use a specific previously created structure in a new property.

{% hint style="info" %}
The structure the user wants to use cannot be changed in the property being created.
{% endhint %}

The Structure selector has the following sections:

* Constructor template
* Structures tree
* Structure’s settings
  * properties,
  * inherited properties,
  * extends.

<figure><img src="https://processmix.com/wp-content/uploads/2023/03/Select-structure-1-1024x782.jpg" alt="" width="563"><figcaption></figcaption></figure>

> For example:\
> To create a complex data type, for example, an array consisting of elements of the float type, expand the “PDK” folder, then expand the “core” folder. Here you will see all types available for use, from which you can combine the necessary structure. Click “Array,” then select “Float,” and in the Constructor template, you can see the resulting structure type.

> For example:\
> To create a custom structure, you need to create a new property and give it a custom type by changing the property type. To do this, click on the **current type**, then select **See All**, then the Structure Selector opens, expand the folder with your project ID, and select the previously created structure. Click the Confirm button. In a custom structure, you can create an unlimited number of nested structures.

> For example:
>
> To assign a previously created structure to a parameter or variable, expand the folder with your project ID, and select the previously created structure. Click the Confirm button.

## Flow Selector <a href="#flow-selector" id="flow-selector"></a>

This type of selector is used in an entity such as Flows.

{% hint style="info" %}
The flow that the user wants to use cannot be changed within the selector.
{% endhint %}

The Flow Selector has the next sections:

* Flows tree
* Settings
  * Initialize variables
  * Executable
  * Description
* Input
* Output
* Local variables

<figure><img src="https://processmix.com/wp-content/uploads/2023/03/Select-flow-1-1024x794.jpg" alt="" width="563"><figcaption></figcaption></figure>

When building a flow, the user can add a Subflow node that will be used in it. That is, within one flow, it can perform additional subflows.

To do this, the user needs to add a subflow node to the flow. Next, on the left side of the Node Settings, select the flow that the user will use. To do this, the user should click the flow in the parameters section, select **See All**, then the Flow Selector opens, in which you must **select the required flow**, then click on **the** **CONFIRM** **button**.

## Connector Selector <a href="#connector-selector" id="connector-selector"></a>

This type of selector is used for an entity, for example, Connectors. The system has three types of connectors: REST, SOAP, and DB. For each individual connector, a specific set of parameters is allocated, which is presented in the selector.

{% hint style="info" %}
The connector the user wants to use cannot be changed within the selector.
{% endhint %}

The REST connector selector has the next sections:

* Connectors tree
* Connector settings
  * Base Url
  * Description
* Service settings
  * Url
  * Method
  * Path (Depends on the method)
  * Request (Depends on the method)
  * Response

<figure><img src="https://processmix.com/wp-content/uploads/2023/03/SelectRest-1024x794.jpg" alt="" width="563"><figcaption></figcaption></figure>

The SOAP connector selector has the next sections:

* Connectors tree
* Connector settings
  * Source
  * Description
* Service settings
  * Name
  * Url
  * Binding name
  * Port name
  * Request
  * Response

<figure><img src="https://processmix.com/wp-content/uploads/2023/03/SelectSOAP-1024x794.jpg" alt="" width="563"><figcaption></figcaption></figure>

When building a flow, the user can add a Connector node that will be used as a connector in it.

To do this, the user needs to add a Connector node to the flow. Next, on the left side of the Node Settings, select the service that the user will use. To do this, the user should click the service in the parameters section then select **See All**, then the Connector Selector opens, in which you need to **select the required service**, then click on **the CONFIRM button**.

## DB Connector Selector <a href="#db-connector-selector" id="db-connector-selector"></a>

This type of selector is used in an entity such as DB Connector.

{% hint style="info" %}
The DB Connector that the user wants to use cannot be changed within the selector.
{% endhint %}

The DB Connector selector has the next sections:

* Connectors tree
* Connector settings
  * DB type
  * Url
  * Username
  * Description
* SQL
* Query settings
* Query parameters

<figure><img src="https://processmix.com/wp-content/uploads/2023/03/SelectDB-1024x794.jpg" alt="" width="563"><figcaption></figcaption></figure>

When building a flow, the user can add a DB Connector node that will be used as a connector in it.

To do this, the user needs to add a DB Connector node to the flow. Next, on the left side of the Node Settings, select the DB Connector that the user will use. To do this, the user should click the DB Connector in the parameters section then select **See All**, then the DB Connector Selector opens, in which you need to **select the DB connector query**, then click on **the** **CONFIRM** **button**.

## Decision table Selector <a href="#decision-table-selector" id="decision-table-selector"></a>

This type of selector is used in an entity such as a Decision table.

{% hint style="info" %}
The Decision table that the user wants to use cannot be changed within the selector.
{% endhint %}

The Decision tables selector has the next sections:

* Decision tables tree
* Settings
  * Break condition
  * Description
* Conditions
* Results

<figure><img src="https://processmix.com/wp-content/uploads/2023/03/decisiontable_popup-1024x794.jpg" alt="" width="563"><figcaption></figcaption></figure>

When building a flow, the user can add a Decision table node that will be used in it.

To do this, the user needs to add a Decision table node to the flow. Next, on the left side of the Node Settings, select the decision table that the user will use. To do this, the user should click the decision table in the parameters section then select **See All**, then the Decision tables Selector opens, in which you need to **select the desired decision table**, then click on **the** **CONFIRM button**.

## Dictionary Selector <a href="#dictionary-selector" id="dictionary-selector"></a>

This type of selector is used in an entity such as Dictionary.

{% hint style="info" %}
The Dictionary that the user wants to use cannot be changed within the selector.
{% endhint %}

The Dictionaries selector has the next sections:

* Dictionaries tree
* Settings
  * Type
  * Description
* Fields

<figure><img src="https://processmix.com/wp-content/uploads/2023/03/dictionary_selector-1024x794.jpg" alt="" width="563"><figcaption></figcaption></figure>

When building a flow, the user can add a Dictionary node that will be used in it.

To do this, the user needs to add a Dictionary node to the flow. Next, on the left side of the Node Settings, select the Dictionary that the user will use. To do this, the user should click the Dictionary in the parameters section then select **See All**, then the Dictionary Selector opens, in which you need to **select the desired dictionary**, then click on the **CONFIRM button**.

## Scorecard Selector <a href="#scorecard-selector" id="scorecard-selector"></a>

This type of selector is used in an entity such as Scorecard.

{% hint style="info" %}
The Scorecard that the user wants to use cannot be changed within the selector.
{% endhint %}

The Scorecards selector has the next sections:

* Scorecards tree
* Settings
  * Initial score
  * Use reason code
  * Description
* Parameters
* Characteristics
* Reason code – if “Use reason code” set as true

<figure><img src="https://processmix.com/wp-content/uploads/2023/03/scorecard_selector-1024x794.jpg" alt="" width="563"><figcaption></figcaption></figure>

When building a flow, the user can add a Scorecard node that will be used in it.

To do this, the user needs to add a Scorecard node to the flow. Next, on the left side of the Node Settings, select the Scorecard that the user will use. To do this, the user should click the Scorecard in the parameters then select **See All**, then the Scorecard Selector opens, in which you need to **select the scorecard**, then click on **the** **CONFIRM button**.

## PMML Selector <a href="#pmml-selector" id="pmml-selector"></a>

This type of selector is used in an entity such as PMML.

{% hint style="info" %}
The PMML that the user wants to use cannot be changed within the selector.
{% endhint %}

<figure><img src="https://processmix.com/wp-content/uploads/2023/03/PMML_selector-1024x794.jpg" alt="" width="563"><figcaption></figcaption></figure>

The PMMLs selector has the next sections:

* PMMLs tree
* Settings
  * Model type
  * Version
  * Description
* Input
* Result

When building a flow, the user can add a PMML node that will be used in it.

To do this, the user needs to add a PMML node to the flow. Next, on the left side of the Node Settings, select the PMML that the user will use. To do this, the user should click the PMML in the parameters section then select **See All**, then the PMML Selector opens, in which you need to **select the desired PMML**, then click on **the** **CONFIRM button**.

## Function Selector <a href="#function-selector" id="function-selector"></a>

This type of selector is used if the user adds a FunctionCall node to the flow.

{% hint style="info" %}
The user can use a certain set of functions that are already predefined in the system.
{% endhint %}

When building a flow, the user should add a FunctionCall node that will be used as a function to manipulate with data in the model.

<figure><img src="https://processmix.com/wp-content/uploads/2023/03/function_selector-1024x794.jpg" alt="" width="563"><figcaption></figcaption></figure>

The Functions selector has the next sections:

* Functions tree
* Settings
  * Name
  * Type
  * Description
* Input
* Output

To do this, the user needs to add a FunctionCall node to the flow. Next, on the left side of the Node Settings, select the Function that the user will use. To do this, the user should click the Function in the parameters section then select **See All**, then the Function Selector opens, in which you need to **select the desired function**, then click on **the** **CONFIRM button**.
