Inject job regardless of extension

Post Reply
User avatar
Terkelsen
Advanced member
Posts: 297
Joined: Thu Sep 08, 2011 5:08 pm
Contact:

Inject job regardless of extension

Post by Terkelsen »

I want to use Inject Job to inject jobs with a specific NameProper but regardless of the extension.

Exmaple: If the job Test.pdf triggers the injection I want to pick up both Test.png and Test.ai.

Is that possible with just one InjectJob element or do I need to create one for each file type?
Arthur
Member
Posts: 113
Joined: Sat Sep 09, 2017 11:58 pm
Location: Yateley, UK

Re: Inject job regardless of extension

Post by Arthur »

Is the injection time fired ?? So that files come down in a time based bursts ??
I'm thinking that instead of Injecting it then with the use of a regular Inject element, you may create a BAT file using Execute Command Friend, which would pick up the trigger file [NameProper] and based on that you could define a custom script to copy / move etc jobs that match the filename, from 1 folder (a repository) to some other defined location / folder in a flow and then you'd have all the necessary files injected with a commandline / BAT script.
Might be a bit fiddly, but should work, as you could use a wildcard for extension in a command line.
I donno if that helps though...
Post Reply