I want to extract the created date of folder on google drive. when i was trying to implement the find files and folder activity, in Output result we are getting array of file, how i can take created date from that variable ?
No worries
Once after getting the output as Files[ ] from Find files and folders activity pass that to FOR EACH activity as input
Where change the type argument as Google.Apis.Drive.v3.Data.File in the property panel of For each activity
Inside the loop we can get the CreationTime and assign that to a variable of type System.Datetime which we can compare with a value or variable we have
Usually item.ModifiedTime will be of type System.DateTime
We need to convert this to string with .ToString in order to mention them in log message activity or assign to a variable of type string
folderResult is type of Google.Apis.Drive.v3.Data.File
when i used to log message by using below scenerios im facing the error because im not able to provide item . methods any one which are mention over there in array