Available Actions |
BarTender supports several different kinds of actions to help you meet your unique needs.
|
You can use the Search box on the New Action dialog to find the action that you want to add. To do this, select an action category in the left pane and then enter the action that you want in the Search box. In the list that appears, double-click the action that you want. |
Select from a wide variety of actions that manipulate data, such as searching and replacing, inserting or deleting text, transforming text to a record set, and more. The action can be as simple as replacing text in a file or as complex as using an XSLT stylesheet to transform XML into BTXML.
Action |
Description |
---|---|
Opens a specified source and inserts the provided text or characters at the end of the source text. |
|
Opens a specified source and inserts the provided text or characters at the beginning of the source text. |
|
Searches for and deletes text or characters in a specified source. |
|
Searches for text or characters in a specified source and deletes all the data after the found string. |
|
Searches for text or characters in a specified source and deletes all the data before the found string. |
|
Searches for text or characters in a specified source and inserts the provided content directly after it. |
|
Searches for text or characters in a specified source and inserts the provided content directly before it. |
|
Searches for text or characters in a specified source and replaces it with the provided content. |
|
Transforms an identified source of text into a record set for a specified database. |
|
Uses an XSLT stylesheet to transform another application's output XML from its original XML format into another XML format. The reformatted XML is then placed into an output variable. |
Use input actions to specify a port, network socket, or file from which to receive data or, in the case of the Wait for File action, to monitor for the existence of a file.
Action |
Description |
---|---|
Monitors a specified folder for a defined file type, reads the data that is contained in that file, and then saves the data to a variable. |
|
Reads from a network socket for incoming data. |
|
Reads from a serial port for incoming data. |
|
Monitors a specified folder for a defined file type. When the file is detected, the action finishes and allows subsequent actions to run. |
Use output actions to send or write data to a specified output channel.
Action |
Description |
---|---|
Sends an email message to the email accounts that you specify. |
|
Writes a message to the Microsoft Message Queue (MSMQ). |
|
Sends data on a TCP or UDP socket. |
|
Writes data to a serial port. |
|
Sends an HTTP request to a web service (REST or SOAP). |
|
Displays a message box to the user. |
|
Opens a web page in the default browser. |
|
Writes a data string to a file. |
Use execute actions to print documents or BTXML script, group a subset of actions, send script commands, manipulate database records, and set variables for use by other actions.
Action |
Description |
---|---|
Prints multiple BarTender documents in a Process Builder process file or a legacy Batch Maker batch file. |
|
Specifies a variable whose value you want to be decremented each time the action is run. |
|
Runs a database query and actions for each record. |
|
Runs a group of one or more actions on every file in an archive folder that matches the specified criteria. |
|
Runs a group of one or more actions on every file in a folder that matches the specified criteria. |
|
Specifies that a group of one or more actions continues to run sequentially until a specified value is reached by either incrementing or decrementing an assigned variable value with each loop iteration. |
|
Jumps to a specified action to continue the run operation. |
|
Specifies a subgroup of actions for an event. The actions in the group can be run repeatedly in sequence or in parallel. |
|
Specifies a variable whose value you want to be incremented each time the action is run. |
|
Runs a Windows PowerShell command. |
|
Specifies the BTXML script that is sent to BarTender, which processes the code and completes the tasks that are defined by the code. |
|
Prints a specific BarTender document each time the event occurs. |
|
Creates one or more Case sub-actions and a single Default action, and specifies a variable that is evaluated to determine which of those actions to run. |
|
Sets the values of one or more variables. |
|
Sets the value of a single variable. |
|
Runs a shell command that can be used to run operating system commands or third-party utilities. |
|
Stops the current print job. |
|
Specifies a time period that elapses before the action finishes. You can use this action to create a pause in sequential actions. |
|
Monitors a specified folder for a defined file type. When the file is detected, the action finishes and enables subsequent actions to run. |
|
Specifies that a group of one or more actions continues to run sequentially as long as the specified condition continues to be satisfied. |
|
Causes a Librarian file that is assigned to a workflow to transition from one workflow state to another. |
Use file actions to manipulate files or folders in a specified file system or location. File systems or locations can include a temporary storage folder, local file systems or network shares, Librarian, or a supported cloud storage location. For more information about supported cloud storage locations, refer to the Administration Console
Action |
Description |
---|---|
Adds one or more files from a folder to an archive. |
|
Copies a file from one location to another. |
|
Copies a folder. |
|
Creates a folder. |
|
Deletes a file. |
|
Deletes a folder. |
|
Extracts one or more files from an archive to a folder. |
|
Runs a group of one or more actions on every file in an archive folder that matches the specified criteria. |
|
Runs a group of one or more actions on every file in a folder that matches the specified criteria. |
|
Moves a file from one location to another. |
|
Moves a folder. |
|
Monitors a specified folder for a defined file type, reads the data that is contained in that file, and then saves the data to a variable. |
|
Renames a file. |
|
Renames a folder. |
|
Causes a Librarian file that is assigned to a workflow to transition from one workflow state to another. |
|
Writes a data string to a file. |
Use database actions to perform actions on a record set or create a record set from a text file.
Action |
Description |
---|---|
Deletes one or more records from a connected database. |
|
Runs any kind of custom Structured Query Language (SQL) script. |
|
Runs a database query and actions for each record. |
|
Inserts a new record into a connected database. |
|
Transforms an identified source of text into a record set for a specified database. |
|
Updates one or more records in a connected database. |
Use forms actions to manage forms, manage print jobs, and communicate information to print operators at print time.
Action |
Description |
---|---|
Cancels the current print job. |
|
Clears all controls on the current form. |
|
Causes the print job to continue to the next form or to print if no forms remain. |
|
Resets all controls to their original values. |
|
Shows a data entry form that you specify by name. |
|
Displays help content to the user. |
|
Displays a message box to the user. |
|
Opens a web page in the default browser. |