Box - New file
Use the Box - New file start event An event that triggers a workflow to run when it occurs. An example is Box - New file, which triggers the workflow to run when a new file is uploaded to the specified folder. to start your workflow whenever a new file is uploaded to a folder you specify in your Box account.
For more information about the Box connector A software component that allows seamless integration with third-party services, business applications, and content stores. Examples include Salesforce, Box, and Microsoft SharePoint. Connectors are used to create connections required for workflow and agentflow actions and start events., see Box.
Configure the Box - New file start event
-
Open the Workflow designer. For more information, see Open the Workflow designer.
-
If the Start event configuration panel does not automatically open, click Start event. For more information, see Start event configuration panel.
Important:If invalid variables are detected, a message is displayed at the top of the Start event configuration panel. It can be due to changes that have been made to the start event, such as:
-
The start event configuration may have been changed.
-
The start event may have been changed completely. For example, the start event connector changed to a new connector or changed from a connector to a Nintex event.
-
The source configured in the start event configuration may have been changed or deleted. For example, after a workflow is configured to start when a new item is added to a SharePoint list, a column in the SharePoint list is deleted or the list is deleted.
If you see this message it is recommended that you update the variables. You can update the variables or delete them as required in the Variables panel.
If there are invalid references they will be deleted when the workflow is published. Deleting variables may result in unconfigured actions and you will have to update the configuration of the impacted actions.
-
-
In Start from, select Box.
Caution: After you have selected and configured your start event and you begin designing the workflow and using start event variables in any of your actions, you can no longer change Start from and Event.
A warning message appears when one or more start event variables are referenced by actions within the workflow. The connector and event cannot be changed until the variables are no longer referenced within the workflow.
-
In Event, select Box - New file.
The Configuration section is displayed to configure the start event.
-
Select a Connection. If you do not have a connection, see Add a connection.
-
Enter the Path to the connector. If the folder browse icon (
) is displayed to the right of the field, then click it to navigate to the folder that you want. If no folder browse icon is displayed for the selected connector, then type the path, beginning with the root folder. Example: /Draft. This value is case-insensitive. Do not add a trailing slash (as in "/Draft/"). -
(Optional) In Conditions, click Add condition to set conditions for the start event. Set conditions that start your workflow only when defined conditions are true. The Condition builder supports nested conditions, enabling you to create conditions within another condition. For fields and settings, see Condition builder.
For each condition:
- In When, select a start event variable. For example, select Name for a new file start event.
- In Operator, select an operator for comparing the variable to the value. For example, select Contains.
-
If needed, in Value, type or select the value to use for the comparison. For example, type marketing.
-
(Optional) Enter a Condition summary.
- Click Add condition.
- Select all or any to control how multiple conditions are evaluated.
View start event variables
Start event variables A variable associated with the start event. Often referenced by actions in the workflow. For example, a start event variable might capture input in a form field. are automatically added to the workflow. They are passed as parameters in the HTTP call to start the workflow.
At the top of the Start event configuration panel, click Show variables. The list of start event variables is populated.
Alternatively, click Hide variables to hide them.
The start event variables are contained in an object called Start variable and include the following variables:
- Name: The file name, including extension. Text variable. Example: sunset.jpg
- File ID: The Box GUID for the file. Text variable. Example: 22678531473.
- Path: The full file path of the new file, including folders, file name, and extension. Text variable. Example: /Draft/sunset.jpg.
-
File variable: The new file, stored in Nintex Workflow for the duration of the workflow instance. File variable.
Use the File variable to attach the new file to an email later in the workflow or to move or copy the new file to a new location. The configuration field in the action you choose must allow file variables
- Created date: The date when the new file was added to the folder path in the Box account for the selected connection.
- Created by (email): The email address of the person who created the new file. Text variable.
- Created by (display name): The friendly identifier of the person who created the new file. Text variable.
- Size (bytes): The storage size of the file added to Box.
Box - New file start event fields and settings
|
Section |
Field |
Description |
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Start event | Show variables |
Displays variables that are available to use throughout the start event. Variables are classified based on how they are created or generated.
|
||||||||||
| Hide variables | Closes the Variables pane. | |||||||||||
| (unlabeled) | Start from |
The connector or Nintex event that starts the workflow. To trigger the workflow when an event occurs in Box, under CONNECTORS, select Box. |
||||||||||
| Event |
The event that must occur in the selected connector to trigger the workflow. Select Box - New file to trigger the workflow whenever a new file is uploaded to a folder you specify in your Box account. |
|||||||||||
| Configuration | Connection Credentials and other settings that enables workflows to communicate with external systems, services, or applications. It's required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store. |
The connection to use for the start event. To add a connection, select Add connection. To refresh the available connections, click |
||||||||||
| Path |
Path to connector. If the folder browse icon ( |
|||||||||||
| Conditions | Add condition/Edit condition/Delete condition |
Displays the condition builder to define new conditions or edit or delete existing conditions.
The Condition builder supports nested conditions, enabling you to create conditions within another condition. For fields and settings, see Condition builder. |