To fetch Filename in SFTP write connector, i have stored filename in variable and writing file(staging), after it written in directory. from different flow i need to move same file to output location both flows are not interlinked.
we dont have Session variable in Mule4 to achieve this scenario.
Could anyone let me know how to store variable like filename(with timestamp) in one flow and read it from different flow.
EX: filename pattern "test" ++ "_" ++ now() as Date {format: "yyyyMMdd"} ++ "_" ++ (now() as String {format: "HH:mm:ss"}) ++ '.txt'