> For the complete documentation index, see [llms.txt](https://docs.valorx.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.valorx.com/valorx-fusion/design-studio/workflow-and-ux/common-tasks.md).

# Common Tasks

The Task feature includes several sections, one of which is **Common Tasks**. As the name implies, this section contains frequently used and familiar functions. Expand the **Common Tasks** group to view its subsections, which include **Display**, **Save**, **Notification**, **Decision**, and **Connect**.

![](https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2F3YONHxA8ylQsLdnzkM96%2FCommon%20Tasks.gif?alt=media\&token=43ee4dcb-f526-45e4-9b30-a02557d4b688)

## Display

Display task is used to render data on spreadsheet. User needs to select Maps and its relevant Data Intake to display data. Display Properties shows the list of existing maps and user needs to select relevant Data Intake for the included map. User needs to select at least one map for every Display task.

![](https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FmV4uMieXWems9KO3lY0y%2FDisplay.gif?alt=media\&token=8f8aa036-964b-49cb-b097-2a897c67a868)

***

## Save

Save task is used to save data of spreadsheet back to CRM. User needs to select Maps for which save operation is to be done. Save Properties shows the list of All save groups and user needs to select at least one save group for every Save task.

![](https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2F2uKrdtWOLkG9oAN6s3FM%2FSave%20Task%20Properties.gif?alt=media\&token=185ac33d-5013-437d-b1b2-825ff1203a8a)

***

## Notification

The Notification task shows a message to users while a workflow is running. You can use it to share information, warn users before an action, ask a simple question (such as Yes/No or OK/Cancel), or collect input from users. Based on the button the user clicks, the workflow continues along a different path.

<figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2Fx1GErPKwY0YNiv79rDhG%2FNotification%20Drag%20and%20Drop.gif?alt=media&amp;token=6bda8bad-ff87-405d-bf20-81968b36e183" alt=""><figcaption><p>Notification Task in Workflow</p></figcaption></figure>

### Notification Properties

<div align="left"><figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FJo1NvAm1T69OZCLYYKVG%2Fimage.png?alt=media&amp;token=1990e3ca-6b1d-4fc0-beb5-dd3b25e6a886" alt=""><figcaption><p>Notification Properties</p></figcaption></figure></div>

<table data-search="false"><thead><tr><th width="157">Property</th><th>Description</th></tr></thead><tbody><tr><td><strong>Step Name</strong></td><td>The name of the Notification step in the workflow.</td></tr><tr><td><strong>Message Type</strong></td><td>Choose where the message comes from: <strong>Static</strong> (type the message yourself), <strong>Cell Reference</strong> (read the message from a cell), or <strong>Named Range Reference</strong> (read the message from a named range). Click <strong>Preview</strong> to see how the notification will look.</td></tr><tr><td><strong>Message</strong></td><td>The message shown to users. For Cell Reference or Named Range Reference, select the cell or named range instead.</td></tr><tr><td><strong>Image</strong></td><td>The icon shown with the message. Choose an icon that matches the purpose of the notification: <strong>Information</strong>, <strong>Error</strong>, <strong>Warning</strong>, <strong>Question</strong>, <strong>Stop</strong>, <strong>Exclamation</strong>, <strong>Hand</strong>, or <strong>Asterisk</strong>.</td></tr><tr><td><strong>Loop threshold</strong></td><td>The maximum number of times this step can run in a single workflow run. See <a href="#loop-threshold">Loop Threshold</a> below.</td></tr><tr><td><strong>Options</strong></td><td>The buttons shown on the notification window: <strong>Ok</strong>, <strong>Ok Cancel</strong>, <strong>Yes No</strong>, or <strong>Custom</strong>. See <a href="#options">Options</a> below.</td></tr><tr><td><strong>Configure Data Capture</strong></td><td>Adds input fields to the notification so users can enter information. Click <strong>Configure Data Capture</strong> to set up the fields and choose where the data is saved. See <a href="#data-capture">Data Capture</a> below.</td></tr><tr><td><strong>Include Save Summary</strong></td><td>Adds the data captured in this notification to the Save Summary. After a Save task runs, the changes appear in the Save Summary popup window.</td></tr><tr><td><strong>Silent Mode</strong></td><td>Writes the message to the logs instead of showing the notification to users. Leave this unchecked when users need to see the notification or enter data.</td></tr></tbody></table>

#### Options

The Options setting controls which buttons appear on the notification window. Each button is linked to a workflow path: **OK** and **Yes** follow the **True** path, while **Cancel** and **No** follow the **False** path.

For each path, choose the next step the workflow should go to, or select **Exit Workflow** to stop the workflow.

<div align="left"><figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FzQTtTbavYPXogOzu5xV4%2Fimage.png?alt=media&amp;token=7f0467bc-509c-4c24-abe0-27c983a5390c" alt=""><figcaption><p>Options</p></figcaption></figure></div>

<div align="left"><figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FM75FLPvCeu5hVN7phzkx%2Fimage.png?alt=media&amp;token=d7b3de21-3afe-4221-950e-825553479f17" alt=""><figcaption><p>Yes No Option</p></figcaption></figure></div>

<table><thead><tr><th width="133">Option</th><th width="256">Buttons shown</th><th width="160">True path</th><th>False path</th></tr></thead><tbody><tr><td><strong>Ok</strong></td><td>OK</td><td>OK</td><td>Not available</td></tr><tr><td><strong>Ok Cancel</strong></td><td>OK, Cancel</td><td>OK</td><td>Cancel</td></tr><tr><td><strong>Yes No</strong></td><td>Yes, No</td><td>Yes</td><td>No</td></tr><tr><td><strong>Custom</strong></td><td>Buttons you set up yourself</td><td>True button</td><td>False button (optional)</td></tr></tbody></table>

#### Custom Options

Choose **Custom** when you want to name the buttons yourself or choose which buttons appear. The following settings are available:

<table><thead><tr><th width="323">Setting</th><th>Description</th></tr></thead><tbody><tr><td><strong>True</strong> and <strong>True Button Label</strong></td><td>The path for the True button and the text shown on it. For example, change the label to <strong>Approve</strong>.</td></tr><tr><td><strong>Show False Button</strong></td><td>Shows a False button on the notification window. When selected, you can set the <strong>False</strong> path and <strong>False Button Label</strong>.</td></tr><tr><td><strong>Allow Data Capturing on False Button</strong></td><td>Saves the user's input when they click the False button. Available when <strong>Show False Button</strong> and <strong>Configure Data Capture</strong> are selected. See Data Capture below.</td></tr><tr><td><strong>Exit Button</strong></td><td>Shows an Exit button that closes the notification window without saving any data.</td></tr></tbody></table>

<div align="left"><figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FoIRQPDXoKAXwscRMLdSS%2Fimage.png?alt=media&amp;token=ddbdf61a-3663-46c8-97ee-25e1bde21def" alt=""><figcaption><p>Custom Options</p></figcaption></figure></div>

<div align="left"><figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FeWRGSJVVS7vyOj2AbOLA%2Fimage.png?alt=media&amp;token=e0bc7a4c-3bc1-4c53-a4a4-9a1d5b07b429" alt=""><figcaption><p>Custom Options with Exit Button</p></figcaption></figure></div>

#### Data Capture

When **Configure Data Capture** is selected, the notification window includes input fields for users to fill in, such as a comment or a value. The data they enter is saved to the cell or named range you assign.

**Set Up Input Fields**

Click **Configure Data Capture** to open the Notification window. Here you can add, edit, and remove the input fields shown to users.

1. Click **Add User Input**. The **Enter Input Details** window opens.
2. Enter the following details:

<table><thead><tr><th width="161">Field</th><th>Description</th></tr></thead><tbody><tr><td><strong>Input Label</strong></td><td>The name shown next to the input field, for example <strong>Comment</strong>. This field is required.</td></tr><tr><td><strong>Data Type</strong></td><td>The type of data users enter: <strong>String</strong> (text), <strong>Number</strong>, <strong>Boolean</strong> (true or false), <strong>Date</strong>, <strong>File</strong>, or <strong>Picklist</strong> (a list of values to choose from). For Picklist, see Set Up Picklist Values below.</td></tr><tr><td><strong>Input Type</strong></td><td>Where the data is saved: <strong>Cell Reference</strong> or <strong>Named Range Reference</strong>.</td></tr><tr><td><strong>Cell for location</strong> or <strong>Named Range</strong></td><td>The location where the data is saved. For Cell Reference, type the cell address (for example, <strong>Sheet1!$A$1</strong>) or click the Excel icon to select it. For Named Range Reference, choose a named range from the list. This field is required.</td></tr><tr><td><strong>Default Value Intake</strong></td><td>The value already filled in when the notification opens. Users can keep it or change it. Choose <strong>None</strong> (empty field), <strong>Static</strong> (type the default value), <strong>Cell Reference</strong> (read the value from a cell), or <strong>Named Range Reference</strong> (read the value from a named range).</td></tr><tr><td><strong>Required</strong></td><td>Select this if users must fill in the field before continuing.</td></tr></tbody></table>

3. Click **Save**. The input field appears in the list.
4. Repeat these steps to add more input fields. Click **Preview** to see how the input fields will look to users.
5. Click **Save** to close the Notification window
6. To change an input field, click the edit icon next to it. To remove it, click the delete icon.

<div align="left"><figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FY8pUMbljBAOtm1EesGl9%2Fimage.png?alt=media&amp;token=4238c85a-8f99-4118-9d59-6d9f2ab7683a" alt=""><figcaption><p>Enter Input Details</p></figcaption></figure></div>

**Set Up Picklist Values**

When you choose **Picklist** as the Data Type, click the **Picklist Values** icon (the gear icon next to Data Type) to choose the values users can pick from. In the **Configure Picklist Options** window, select a **Picklist Type**:

<div align="left"><figure><img src="https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FtrNmDjNfhB4SCMU8Sm3b%2Fimage.png?alt=media&amp;token=9abee9c1-bc05-4796-96bb-f5727ef0b4f9" alt=""><figcaption><p>Configure Picklist Options</p></figcaption></figure></div>

<table><thead><tr><th width="191">Picklist Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>Existing Picklist</strong></td><td>Uses the values of an existing picklist field in your CRM. Select the <strong>Object</strong> and <strong>Field</strong>, for example <strong>Account</strong> and <strong>Account Type</strong>.</td></tr><tr><td><strong>Custom Picklist</strong></td><td>Uses a list of values you enter yourself. Click the icon next to <strong>Custom Picklist Values</strong>, enter one value per line, then click <strong>Add</strong>. You don't need to put quotes around the values.</td></tr><tr><td><strong>NamedRange Picklist</strong></td><td>Uses the values in a named range in your workbook. Choose the named range from the <strong>Selected NamedRange</strong> list.</td></tr></tbody></table>

Click **Save** to apply the picklist values.

**When Data Is Saved**

By default, data is saved only when users click the **True** button. With **Custom** options, you can also save data when users click the **False** button by selecting **Allow Data Capturing on False Button**.

<table><thead><tr><th width="167">Button clicked</th><th>Data saved?</th></tr></thead><tbody><tr><td>True</td><td>Yes</td></tr><tr><td>False</td><td>Only when <strong>Allow Data Capturing on False Button</strong> is selected</td></tr><tr><td>Exit</td><td>No, the notification window closes without saving data</td></tr></tbody></table>

This is useful when you need input from users whichever way they respond. For example, in an approval workflow, you can collect a comment from users whether they approve or reject a request.

#### Loop Threshold

Depending on how paths are set up, a workflow can loop back and run the same step more than once. The **Loop threshold** sets how many times this step can run in a single workflow run. If the limit is reached, the workflow stops. This prevents the workflow from running in an endless loop.

***

## Decision

This task has multiple outgoing paths based on multiple conditions configured. It provides the ability to design conditional flow based on multiple conditions. Decision task is very crucial when you want to have conditional flow in your workflow based on some set of conditions.

***

## Connect

Connect task provides the ability to change the CRM connection at runtime when you have to deal with data from multiple CRM connections in a single app. It's a very natural requirement to have data from multiple connections in a single app. To achieve this workflow designer have Connect task. You can have as many connect tasks as you want and each connect task has a property called Connection Identifier which is a unique name used to identify a connection across all workflows. Users can either type in a new connection identifier name or select it from the available list of connection identifiers.\
\
When Connect task is executed user needs to provide a connection to assign it to a connection identifier. Once the connection identifier is assigned a connection it remembers it and changes the active connection to the selected connection when executed. Connect properties also provide an option to select a connection for Identifier either "On Step Execution" or "Before workflow Start". If a workflow contains any Connect task configured to provide connection. Before workflow starts, a popup window to select a connection will appear before workflow execution.

Connect task will connect apps to multiple org's workflows, and migrate the data from one app to another during runtime. When a workflow is created using connect task then, the workflow will take the data from Org 1 and display or migrate the data to Org 2.

Follow the below steps to create a workflow with connect task.

* Open an app and create a workflow.
* Now, drag and drop the connect from Common Tasks.
* On the right-hand side now select the Connection Identifier where the user needs to map the workflow to an active connection.
* Select either you want to execute it " On Step Execution" or "Before the workflow starts" and click Save.
* Save and run the workflow.

![](https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2FPn1ydOS6dwmuMqTiXHxj%2FConnect.png?alt=media\&token=06c506f0-9349-4fb3-a55b-d2fe7f644256)

Here, is an example of a Connect task multi-org data migration or comparison app. Steps in Blue are from Org 1 which are connecting the steps in Green from Org 2.

![](https://2472585788-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MFqFFf4143HS0_Wagnz%2Fuploads%2Fgp0rY8oOjJbA7AxfThhg%2FConnect.png?alt=media\&token=b59e6b0d-3e6a-4644-b2ba-1ccef4d367c8)
