When I run a flow from the dashboard, I see the status say downloading, then preparing, then running (runs for 2 seconds), then not running.
If I run the flow from the editor there are no issues, it works as expected.
Here is my flow . . .
SET FolderPath TO $'''C:\\Users\\eyare\\Pictures\\Camera Roll'''
SET FolderPath2 TO $'''E:\\Tag_Images'''
Folder.GetFiles Folder: FolderPath FileFilter: $'''WIN*''' IncludeSubfolders: False FailOnAccessDenied: True SortBy1: Folder.SortBy.NoSort SortDescending1: False SortBy2: Folder.SortBy.NoSort SortDescending2: False SortBy3: Folder.SortBy.NoSort SortDescending3: False Files=> Files
LOOP FOREACH File IN Files
SET FileName TO File.NameWithoutExtension
Text.SplitText.SplitWithDelimiter Text: FileName CustomDelimiter: $'''_''' IsRegEx: False Result=> TextFileList
Text.ConvertTextToDateTime.ToDateTimeCustomFormat Text: TextFileList[1] CustomFormat: $'''yyyyMMdd''' DateTime=> DateFormatted
Text.ConvertDateTimeToText.FromCustomDateTime DateTime: DateFormatted CustomFormat: $'''yyyy''' Result=> strYear
Text.ConvertDateTimeToText.FromCustomDateTime DateTime: DateFormatted CustomFormat: $'''MMM''' Result=> strMonth
Text.ConvertDateTimeToText.FromCustomDateTime DateTime: DateFormatted CustomFormat: $'''dd''' Result=> strDay
IF (Folder.IfFolderExists.Exists Path: $'''%FolderPath2%\\%strYear%''') THEN
IF (Folder.IfFolderExists.DoesNotExist Path: $'''%FolderPath2%\\%strYear%\\%strMonth%''') THEN
Folder.Create FolderPath: $'''%FolderPath2%\\%strYear%''' FolderName: strMonth Folder=> NewFolder
IF (Folder.IfFolderExists.DoesNotExist Path: $'''%FolderPath2%\\%strYear%\\%strMonth%\\%strDay%''') THEN
Folder.Create FolderPath: $'''%FolderPath2%\\%strYear%\\%strMonth%''' FolderName: strDay Folder=> NewFolder
END
END
ELSE
Folder.Create FolderPath: FolderPath2 FolderName: strYear Folder=> NewFolder
Folder.Create FolderPath: $'''%FolderPath2%\\%strYear%''' FolderName: strMonth Folder=> NewFolder
Folder.Create FolderPath: $'''%FolderPath2%\\%strYear%\\%strMonth%''' FolderName: strDay Folder=> NewFolder
END
File.RenameFiles.RenameReplaceText Files: File TextToReplace: $'''WIN''' ReplaceWith: $'''REG2''' IfFileExists: File.IfExists.DoNothing RenamedFiles=> RenamedFiles
Folder.GetFiles Folder: FolderPath FileFilter: $'''REG2*''' IncludeSubfolders: False FailOnAccessDenied: True SortBy1: Folder.SortBy.NoSort SortDescending1: False SortBy2: Folder.SortBy.NoSort SortDescending2: False SortBy3: Folder.SortBy.NoSort SortDescending3: False Files=> Files2
File.Move Files: Files2 Destination: $'''%FolderPath2%\\%strYear%\\%strMonth%\\%strDay%''' IfFileExists: File.IfExists.DoNothing MovedFiles=> MovedFiles1
END