Rename file in Box

Last published at: May 2nd, 2023

Description:

Rename an existing file in the Box site.

Inputs

  • selOAuthProvider - Select OAuth provider
  • filePath - Path/FileID of the file to be renamed
  • renamedTo - Rename file to
  • resultJson - Variable to store the result

Returns

  • True – step executed successfully
  •  False – step failed to execute 

Usage:

To use this step, you must configure Dropbox in FlowWright application.

Example:

Let’s build and execute the BoxrenamefileDef example.  

  • Create a new definition called “BoxrenamefileDef”
  • Select the definition and click the “design” button
  • Drag a Boxrenamefile step to the canvas
  • Connect the dots between the start and Boxrenamefile step

  • Click on the “Boxrenamefile” step to configure its properties
  • Configure the following values for the properties as shown on the below graphic 
  • Save the workflow definition, create a workflow instance and execute.  Step should rename existing file in the box.