Submit Hierarchy job count
Posted: Tue Jul 12, 2022 1:00 am
Hope someone can help me with this. I am using a submit hierarchy to monitor a group of folders on a server. The folders are named for the individuals that have access to drop files into the folders. Using Windows share permissions they only have access to their personal folder.
What I want Switch to do is send email notification when files are received, which is easy enough when the user submits a folder of files or a zip with files the result is one email notification. If the user drops many individual files then Switch treats them as individual jobs and the user gets "X" number of emails which is not a great user experience. I cannot seem to use Assemble Job in a way that will collect the individual files for email so that each user only receives notifications about their own jobs and only one email per user/session. I am using a Job Assembly with Custom scheme and the job identifier pointed to the folder name in the hierarchy but I cannot seem to create a counter for the Number of files so Switch knows when the assembly is complete. Is there a better way to do this?
What I want Switch to do is send email notification when files are received, which is easy enough when the user submits a folder of files or a zip with files the result is one email notification. If the user drops many individual files then Switch treats them as individual jobs and the user gets "X" number of emails which is not a great user experience. I cannot seem to use Assemble Job in a way that will collect the individual files for email so that each user only receives notifications about their own jobs and only one email per user/session. I am using a Job Assembly with Custom scheme and the job identifier pointed to the folder name in the hierarchy but I cannot seem to create a counter for the Number of files so Switch knows when the assembly is complete. Is there a better way to do this?