Use Case: If file available in OneDrive folder upload it to application (xyz) and move it to completed folder
Im retrieving the file id from the queue item as string and storing in string variable.
Post completion of upload i wanted to move that file to completed folder
as input to Move File or Folder activity of Microsoft 365 i do have file and folder id
Error: String can not be converted into O365DriveRemoteItem
You will have to get the O365DriveRemoteItem using the id
Ise Get File or Folder activity and select Enter Id option. This ativity will return you the O365DriveRemoteItem which you can pass to Move File or Folder activity to move.
Move File or Folder doesn’t accept a string file id.
First use Get File (or Find Files/Folders) to get an O365DriveRemoteItem, then pass that object to Move File or Folder.