Rename file in Box

Last published at: May 14th, 2024


Rename an existing file in the Box site.


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


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


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


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.