Empty File kicks off job
I'd like to implement a solution where we post an empty file when the transfer is complete. This empty file would tell adeptia to kick off the job. For example, we would copy our .csv file to the File Base Location, wait for the transfer to finish, and then post an empty file with a unique file extension (e.g. ".done"). Once this file is posted, we'd like the adeptia job to kick off, import the .csv file, and disregard the .done file.
-
Yes you can achieve that requirement by following the steps that are described below:
1. Event context enabled should be false and file include criteria should be *.txt.
2. Create a custom plugin in which it picks the source file name from event context map after that appends file name "done" after the source file name to create a unique file.
3. Use Put context var and over-ride the file with the current file name and file location with done file location.There is one more option that is present to handle such kind of situations i.e. "Check for File Modification" this checkbox is present in the File trigger and is Enabled when the trigger is set to "On File Created"(Refer to attached screenshot). After checking this option the file is continuously checked for it's modification whenever it is found stable the flow is triggered. Please try this option first.
0
Please sign in to leave a comment.
Comments
1 comment