Get Item
Get Item enables you to retrieve the metadata of the specified file.
Using Get Item feature
- Make sure the prerequisites for using Office 365 activities are met.
- Drag the OneDrive 365 activity and drop it below the OAuth activity inside the Application activity block. The validation error symbol disappears when you select at least one feature from the available list.
- In the Access Token list, select the argument holding the access token retrieved using the OAuth activity
- In the Feature list, select Get Item.
- Click the
(Setting) icon to configure the input parameters such as defining the file name and location to download the required file. The Input Configuration screen appears.
- Ensure to define all the input parameters as an in argument in the Parameter bar for selection in the mandatory and advanced options.
- Mandatory Options:
- In the Item Path list, select the parameter holding the path along with the folder or file name to retrieves its metadata.
- Mandatory Options:
- You can select the Is Default Value checkbox to set the selected input parameter as the default value.
- Click Confirm to save the configuration.
- Ensure to define all the input parameters as an in argument in the Parameter bar for selection in the mandatory and advanced options.
- In the Output list, select the parameter to map the status of the operation performed. You must pre-define the parameter as an out argument to make it available for the selection. The metadata received is in the Json string format. You can use the Json activity to parse the string and use the data as per your business need.
- Save the process. The OneDrive 365 process with the Get Item operation is created and saved.
- In the Tool bar, click Test Run, and then click Setup Environment.