Skip to main content

Approving Actions

Before the client does anything on your computer, it may need two types of approval:

  1. Action approval: may this action run? For copying, printing, email, macros and similar actions, someone approves the request, or the client approves it automatically. Your approval mode decides which.
  2. File access approval: may the action use this file or folder? It must be on your File Access list, or the client asks you. This applies in every approval mode.

This page explains both, and the windows you may see along the way.


Approval modes​

Choose the mode with the picker at the bottom right of the client window. The change takes effect immediately, and you can switch at any time.

The approval mode picker

Require Approval (default)​

Actions such as printing and sending email wait for your approval. Reading, saving or opening a file sent straight from the server needs only file access approval.

  • Requests from workflows arrive as notifications with Approve and Skip buttons, on the Home screen and as desktop pop-ups.
  • A few requests come straight from the server without a notification, for example listing your folders while someone sets up a workflow, or sending the client's log file for troubleshooting. For these, the client opens an approval window with Allow and Deny.

Best for: your everyday work computer, where you want to see each request.

Auto Approve​

The client carries out requests as soon as they arrive, without buttons or pop-ups. Each notification is marked Auto-approved, so you can still see afterwards what ran.

Best for: a dedicated computer that runs unattended, such as a print station or a PC that only receives files.

File access approval still applies in Auto Approve mode

Auto Approve does not open up your whole computer. If a request wants to read, save or open a file that is not on your File Access list, the client still stops and asks. On an unattended PC, add the folders its workflows need to the list in advance, so nobody has to answer a prompt.


Action approval​

Whether an action waits for you depends on how the request arrives and on your approval mode:

How the request arrivesRequire ApprovalAuto Approve
As a notification. This is how workflow steps such as copy file, print and send email reach you.Click Approve on the notification or pop-up to run it, or Skip to decline.Runs automatically.
Straight from the server, without a notification: printing, email, macros, folder browsing or sending the client log.An approval window asks Allow or Deny, every time.Runs automatically.
Reading, saving or opening a file sent straight from the server, for example by the Read File (B2WS Client) node.No action approval is needed. Only file access approval applies.Same.
A client update.Always asks before installing. See Updating the Client.Always asks.

What each answer means for the workflow​

Your answerWhat the workflow does
Approve / AllowThe action runs and the workflow continues.
SkipThe action does not run. The workflow marks the step as skipped and carries on.
DenyThe action does not run. The workflow is told the step failed, with the message Action denied by the user on the client.

File access approval​

After action approval, the client checks any file or folder involved against your File Access list. This happens in both approval modes.

What the request doesWhat must be on the File Access listIf it isn't
Save files to a folderThe folder, with Read & WriteThe client asks.
Read a fileThe file or its folder, with any access levelThe client asks.
Attach a file from your PC to an emailThe file or its folder, with any access levelThe client asks.
Read a whole folderThe folder, with any access levelNo prompt. The request fails and the workflow is told which entry to add.
Browse foldersThe folder, with any access levelNo prompt. Only the folders on the list, and the folders inside them, are shown.
Open a file with Excel, Word and so onThat file type, with Read/Write & ExecuteThe client asks the first time for each file type.
Run an Office macroThe macro file, with Read/Write & ExecuteThe client asks. Most macro files can't be remembered, so expect to be asked each time.
PrintNothingNot applicable.
tip

Files that workflows download into the client's own working folders (for printing, attaching or opening) never need a File Access entry for reading and saving. See Folders that are always allowed.


The approval window​

When the client needs your decision, a window titled Action approval required opens on top of your other windows. A small message near the clock also says Approval needed: …, in case the window is on another screen.

The window comes in two forms, one for each type of approval.

Asking about a file or folder​

This form is for file access approval. It appears when a request wants to read, save, open or attach a file that is not on your File Access list.

The approval window for saving a file
PartWhat it tells you
HeaderWhat the server wants to do, for example The server wants to save this file on your computer or network.
ServerWhich B2Win Suite server sent the request. Check it is your server.
ActionThe kind of request: Save a file, Read a file, Open a file, Run an Office macro or Attach a file to an email.
DescriptionA note from the workflow, if it supplied one.
Requested FileThe file name and the folder it is in. The icon shows the program the file opens with.
Remember this actionTicked: the client adds this location to your File Access list, so it won't ask again. The badge on the right (Read, Read & Write or Read/Write & Execute) shows the access that will be granted.
This fileRemember only this exact file.
All .docx files in this folderRemember every file with the same extension in this folder. The extension shown matches the file.

Your choices:

ButtonResult
Allow + WhitelistRuns the action and adds the chosen scope to your File Access list ("whitelist" is another name for that list). Shown while Remember this action is ticked.
Allow OnceRuns the action this time only. Shown when you untick Remember this action. You will be asked again next time.
DenyThe action does not run. Closing the window or pressing Esc does the same.
Remember only what you need

This file is the safest choice. Choose All .docx files in this folder when a workflow writes a file with a different name every time, for example a daily report, into the same folder.

Some requests can't be remembered, for example running a macro file. In that case the window shows only Allow and Deny.

Asking about an action​

This form is for action approval. It appears in Require Approval mode when a request comes straight from the server, without a notification. The window shows:

  • the Server and the Action, for example Print a file, Send an email, Browse local folders or Send the client log,
  • the details of the request, such as File, Printer, Copies, Subject, From and To,
  • the buttons Allow and Deny.

These decisions are never remembered. If you want such requests to run without asking, switch to Auto Approve.


If an action takes too long​

Once an action has been approved from its notification, it must finish within the Action timeout set in Settings (10 minutes by default). The time limit also covers time the action spends waiting in line or waiting for you to allow a file or folder, so answer such windows promptly. If the time runs out, the action is marked as failed and its notification shows Timed out, or Failed with …did not finish this action before the time limit. Run the workflow again when someone is at the computer.

The Read File (B2WS Client) node has a fixed limit instead: the server waits about one minute for the file, including any time spent allowing the file.


Good habits​

  • Check the server name. If you don't recognize the server in the window, click Deny.
  • Read the folder path. Make sure files are saved where you expect.
  • Prefer "This file". Widen the scope only when you need to.
  • Review your File Access list now and then. Remove entries you no longer need under Settings → File Access.
  • Use Auto Approve only on computers that are set up for it, with a File Access list prepared in advance.