spCreateFolder Step

Use this step to create a new folder on the Sharepoint site.

Last published at: June 20th, 2024


This step creates a new folder on the SharePoint site.



  • BaseURL – BaseURL for ur Sharepoint site
  • selOAuthProvider  - select OAuth Provider 
  • destinationFilePath – Path to save the file in the SharePoint site
  • resultJson – store result in Variable or Global 



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






Let’s build and execute the “spCreateFolderDef” example.          

  • Create a new definition called “spCreateFolderDef” 
  • Select the definition and click the “design” button
  • Drag a “spCreateFolder” step from the toolbox
  • Connect the dots between the start and “spCreateFolder” step
  • Define a variable/global to store the result after execution
  • Click the "spCreateFolder" step to configure its "Settings" properties. Provide a name to the step. Provide a description. Provide a base URL to the SharePoint site. Select the SharePoint provider from the dropdown list. The oAuth setting must be configured with Sharepoint oAuth parameters to get authorization.  Provide a path to create a folder on the SharePoint site. Provide a variable/global to store the result after execution. 


  • The “Logging” setting configuration is necessary for documentation and also measures the workflow progress and the percent complete. This is achieved by configuring the step state and percent fields individually, as shown in the images below. Configure the “Logging” using the following properties.


  • Save the process definition, create a new process instance, and execute. The process shall create a folder on the SharePoint site.