Is it possible to configure available templates.cfg to fire a workflow based on file type? For example if file type is .jpg, .gif, .png fire workflow "A", regardless of location.Possible? Best way to accomplish this?Many thanks.-Ninerfan
I suggest to differentiate your workflow to be initiated, from another small workflow using iwwft_instantiator.cgi
To express this somewhat more clearly - you would define a top-level "wrapper" workflow that could parse the list of files attached to the job and programmatically kick off 1-N "sub" workflows - each specifically designed for the kind of content to be processed.There are several issues to consider when doing this though, such as whether all the "sub" workflows needs to be completed before the entire process is considered completed (nested) or whether they are treated independent of one another and of the initial workflow (sibling) - and then there are several different ways to initiate the "sub" workflows depending on which ideology you wish to follow (wftask, iwwft_compile.ipl, iwjobc, and I believe iwmodelc for WFM workflows).