Updating file triggers flow

Post Reply
PdFUser5000
Newbie
Posts: 10
Joined: Fri Jun 12, 2020 11:23 am

Updating file triggers flow

Post by PdFUser5000 » Mon Jun 22, 2020 10:59 am

Hello

I am not sure if this is even possible, but i thought i'd still ask.

I have illustrator files that are linked to Photoshop files. I need the flow to trigger when the illustrator files are updated.

The flow updates all links in photoshop and exports jpgs via script.

I am having trouble with triggering the photoshop part of the flow. at first i thought maybe this is possible with inject job? eg when the illustrator file is updated, switch injects the photoshop files to the flow via inject? But this does not seem to be working.
I need switch to notice that the illustrator files are updated(ignore updates: no), not move them, but instead give a "trigger" to the other part of the flow, which injects the photoshop files to the flow.

The illustrator files have different names, would it also be possible to inject only the PSD-s with the updated illustrator file, not all of them every time?
Illustrator folder has files: X100 X200 X300
Photoshop folder has files : X100_1 X100_2 X200_1 X200_2, etc. multiple photoshop files linked into one illustrator file.

Illustrator file X100 is updated in the folder. Switch activates and updates Photoshop files X100_1 and X100_2. Can i do this with metadata?, filename for example? Or should i just sort different files to different folders before running the photoshop part?

Image

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

Re: Updating file triggers flow

Post by Terkelsen » Wed Jun 24, 2020 3:33 pm

I think you should make your Illustrator input as a Submit Hierarchy. As you mention, set "Ignore updates: No" and "Leave originals in place: Yes". This way you will only get a copy of an Illustrator file each time there is an update or a new file.

Use the copy of the AI file to trigger the injection of the PSD files but use the free App "Inject Wildcard" rather than the default "Inject Job". You can set Inject Wildcard to inject something like *[Job.NameProper]* . In case the AI file is named X100.ai it will inject X100_1.psd, X100_2.psd, etc.

PdFUser5000
Newbie
Posts: 10
Joined: Fri Jun 12, 2020 11:23 am

Re: Updating file triggers flow

Post by PdFUser5000 » Fri Jun 26, 2020 2:19 pm

Terkelsen wrote:
Wed Jun 24, 2020 3:33 pm
I think you should make your Illustrator input as a Submit Hierarchy. As you mention, set "Ignore updates: No" and "Leave originals in place: Yes". This way you will only get a copy of an Illustrator file each time there is an update or a new file.

Use the copy of the AI file to trigger the injection of the PSD files but use the free App "Inject Wildcard" rather than the default "Inject Job". You can set Inject Wildcard to inject something like *[Job.NameProper]* . In case the AI file is named X100.ai it will inject X100_1.psd, X100_2.psd, etc.
Thanks, it worked! i'll add a pic of the flow, if anybody else is interested. To avoid a lot of wildcard elements, all the inject comparisons can be built with a single script expression i think. Not sure if possible tho
Image

Post Reply