spCreateFolder Step

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

Last published at: July 31st, 2023

Description:

This step creates a new folder on the SharePoint site

Inputs

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

 

Returns

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

 

Usage:

 

 

Example:

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 on 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 oAuth provider from the dropdown list. Select oAuth provider dropdown values coming from connection menu oAuth setting need to be configure Sharepoint oAuth params and get authorization. 
  • Click on the "spCreateFolder" step to configure its "Settings" properties. Provide a path to create a folder in the SharePoint site. Provide a variable/global to store the result after execution. 
  • Save the process definition, create a new process instance and execute. The workflow will start and creates a folder in the SharePoint site.