Console Operator

Overview

A static image of teh console operator.

The Console operator is a testing tool that logs data passed through the other Data Workflow operators in the DevTools Console The DevTools Console helps you securely store, build, test, and deploy your software.. It lets you confirm that your Data Workflow is working correctly.

Without the Console operator, you can only view data at the beginning and end of your Data Workflow. Adding a Console operator after each step of the workflow lets you inspect the effects of the other operators. Watching your Data Workflow is helpful when you need to troubleshoot.

You'll find the Console operator under the I/O group to the left of the Data Workflow canvas.

About the Info Window

And here's a breakdown of each setting in the Info window:

Setting

Description

Category

Grayed out and non-adjustable setting indicating the operation type.

Label

Sets the label for your operator, displaying below the operator on your Data Workflow canvas.

This field is optional, but set a label if you use more than one of the same operator type. A label helps you identify your operators without opening any Info windows.

Labels are especially helpful with Console operators. This is because you'll see these labels logged in DevTools Console The DevTools Console helps you securely store, build, test, and deploy your software..

Adding a Console Operator

Configure a simple Data Workflow that populates two fields with Not Applicable. Then, configure a Console operator to view the results in the DevTools Console The DevTools Console helps you securely store, build, test, and deploy your software..

Configure the Text Field Components

First, add two Text Field components to serve as the output components.

1. In the Module Builder, drag and drop two  Text Field components onto your canvas.
2. Enter the following Property ID A Property ID is the unique field ID used by Unqork to track and link components in your module. and Label Text Label Text conveys what the input component is and what information it displays. Enter the purpose of the corresponding component or field. fields for each Text Field component:

 

Property ID

Label Text

1

jobTitle

Job Title

2

salary

Salary

3. Click Save Component as you add them.

Configure the Data Workflow Component

Next, set up the Data Workflow to pass data to the output fields.

1. Drag and drop a Data Workflow component onto your canvas, placing it below the salary  Text Field component.
2. In the Property ID A Property ID is the unique field ID used by Unqork to track and link components in your module. and Canvas Label Text Canvas Label Text indicates the purpose of the corresponding field or component. For non-input components, the Canvas Label Text isn't end-user facing, and only appears in the . fields, enter dwfValue.
3. From the Trigger Type drop-down, select Manual.

Configure the Create Value Operator

1. Drag and drop a Create Value operator onto your Data Workflow canvas.
2. Configure the operator's Info window as follows:
Info

Category

Create Value

Label

Create GO Value

Preserve Argument Type

☐ (unchecked)

Expression/Value

"yes"

Configure the Set Outputs Operator

1. Drag and drop a Set Outputs operator onto your Data Workflow canvas.
2. Configure the operator's Info window as follows:
Info

Category

Set Outputs

Component

jobTitle

Component 1

salary

Action

value

3. Connect the output port (right) of the Create Value operator to the input port (left) of the Set Outputs operator.

Configure the Console Operator

1. Drag and drop a Console operator onto the Data Workflow canvas.
2. Configure the operator's Info window as follows:
Info

Category

Console

Label

Not Applicable

3. Connect the output port (right) of the Create Value operator to the input port (left) of the Console operator.
4. Click Save Component.

Here's how the completed Data Workflow looks:

A static image displaying the Data workflow's configuration.

Configure the Button Component

Lastly, configure a Button component to trigger the Data Workflow.

1. Drag and drop a Button component Icon Button component onto your canvas, placing it above your dwfValueData Workflow component.
2. In the Property ID A Property ID is the unique field ID used by Unqork to track and link components in your module. field, enter btnValue.
3. In the  Label Text Label Text conveys what the input component is and what information it displays. Enter the purpose of the corresponding component or field. field, enter Not Applicable.
4. From the Action Type drop-down, select Event.
5. In the On Click field, enter or select dwfValue.
6. Click Save Component.
7. Save your module.

Here's how the completed example looks in the Module Builder:

A static image of the fnal overview of the Configuration

Preview your module in Express View Express View is how your end-user views your application. Express View also lets you preview your applications to test your configuration and view the styling. This is also the view your end-users will see when interacting with your application. After configuring a module, click Preview in the Module Builder to interact with the module in Express View. and open the DevTools Console The DevTools Console helps you securely store, build, test, and deploy your software.. Click Not Applicable to view the logged operator data.

Overview

A static image of a console operator.

The Console operator is a testing tool that logs data passed through the other Data Workflow operators in the DevTools Console The DevTools Console helps you securely store, build, test, and deploy your software.. It lets you confirm that your Data Workflow is working correctly.

Without the Console operator, you can only view data at the beginning and end of your Data Workflow. Adding a Console operator after each step of the workflow lets you inspect the effects of the other operators. Watching your Data Workflow is helpful when you need to troubleshoot.

You'll find the Console operator under the I/O group to the left of the Data Workflow canvas.

About the Info Window

And here's a breakdown of each setting in the Info window:

Setting

Description

Category

Grayed out and non-adjustable setting indicating the operation type.

Label

Sets the label for your operator, displaying below the operator on your Data Workflow canvas.

This field is optional, but set a label if you use more than one of the same operator type. A label helps you identify your operators without opening any Info windows.

Labels are especially helpful with Console operators. This is because you'll see these labels logged in DevTools Console The DevTools Console helps you securely store, build, test, and deploy your software..

Adding a Console Operator

Configure a simple Data Workflow that populates two fields with Not Applicable. Then, configure a Console operator to view the results in the DevTools Console The DevTools Console helps you securely store, build, test, and deploy your software..

Configure the Text Field Components

First, add two Text Field components to serve as the output components.

1. Drag and drop two  Text Field components onto your canvas.
2. Enter the following Property ID A Property ID is the unique field ID used by Unqork to track and link components in your module. and Label Text Label Text conveys what the input component is and what information it displays. Enter the purpose of the corresponding component or field. fields:

Property ID

Label Text

jobTitle

Job Title

salary

Salary

3. Click Save & Close as you add them.

Configure the Data Workflow Component

Next, set up the Data Workflow to pass data to the output fields.

1. Drag and drop a Data Workflow component onto your canvas, placing it below the salary  Text Field component.
2. In the Canvas Label Text and Property Name fields, enter dwfValue.

A static image of the Data workflow's configuration

Configure the Create Value Operator

1. Drag and drop a Create Value operator onto your Data Workflow canvas.
2. Configure the operator's Info window as follows:

Setting

Value

Category

Create Value

Label

Create GO Value

Expression/Value

"yes"

Configure the Set Outputs Operator

1. Drag and drop a Set Outputs operator onto your Data Workflow canvas.
2. Configure the operator's Info window as follows:

Setting

Value

Category

Set Outputs

Component

jobTitle

Component 1

salary

Action

Value

setValue

Not Applicable

3. Connect the output port (right) of the Create Value operator to the input port (left) of the Set Outputs operator.

Configure the Console Operator

1. Drag and drop a Console operator onto the Data Workflow canvas.
2. Configure the operator's Info window as follows:
Info

Category

Console

Label

Not Applicable

3. Connect the output port (right) of the Create Value operator to the input port (left) of the Console operator.
4. Click Save.

Here's how the completed Data Workflow looks:

A static image displaying the Data workflow's configuration.

Configure the Button Component

Lastly, configure a Button component to trigger the Data Workflow.

1. Drag and drop a Button component Icon Button component onto your canvas, placing it above your dwfValueData Workflow component.
2. In the Property ID A Property ID is the unique field ID used by Unqork to track and link components in your module. field, enter btnValue.
3. In the  Label Text Label Text conveys what the input component is and what information it displays. Enter the purpose of the corresponding component or field. field, enter Not Applicable.
4. Set the Action Type to Event.
5. In the On Click field, enter dwfValue.
6. Click Save & Close.
7. Save your module.

Here's how the completed example looks in the Module Builder:

A static image of the final configuration.

Preview your module in Express View Express View is how your end-user views your application. Express View also lets you preview your applications to test your configuration and view the styling. This is also the view your end-users will see when interacting with your application. After configuring a module, click Preview in the Module Builder to interact with the module in Express View. and open the DevTools Console The DevTools Console helps you securely store, build, test, and deploy your software.. Click Not Applicable to view the logged operator data.