Hi!
I have a flow with different hotfolders and now want to sort them inside the flow based on what their incoming hotfolder was.
I use "jobstate" for another parameter in this flow so that is not availible for this sorting.
Today I use "set job priority" on hotfolders with uniqe number and can then use condition with variables to sort, but I rather not use this workaround beacuse this can affect prio on other flows i guess?
/Henrik
Sort on hotfolder
Sort on hotfolder
Hi Henrik,
you can also use the Hierarchy variable for this. There are 2 things to setup to make this work:
1) ensuring the name of the input folder is remembered
2) using a filter that will sort files based on the Hierarchy variable value
Here are concrete steps on how to do this:
1) on the input folders, enable the option "Attach hierarchy info"
2) once the jobs are processed by PitStop Server and are placed in the folder from where they should be sorted: draw sorting connections using the "Condition with variables" option to define which jobs should be moved over what connection. If you have a lot of outgoing connections to make, which also would need to be updated frequently, you could consider using a Sort Job tool.
Of course this method uses a variable that should not be used elsewhere in the flow yet, or it will give undesired results.
If you need to define a variable dedicated to this job, this can be done using private data, which can be set using a small script. As this requires the Scripting Module to be activated, it will depend on your Switch license if this functionality is available or not.
Hope this helps you?
Kind regards,
Carine
you can also use the Hierarchy variable for this. There are 2 things to setup to make this work:
1) ensuring the name of the input folder is remembered
2) using a filter that will sort files based on the Hierarchy variable value
Here are concrete steps on how to do this:
1) on the input folders, enable the option "Attach hierarchy info"
2) once the jobs are processed by PitStop Server and are placed in the folder from where they should be sorted: draw sorting connections using the "Condition with variables" option to define which jobs should be moved over what connection. If you have a lot of outgoing connections to make, which also would need to be updated frequently, you could consider using a Sort Job tool.
Of course this method uses a variable that should not be used elsewhere in the flow yet, or it will give undesired results.
If you need to define a variable dedicated to this job, this can be done using private data, which can be set using a small script. As this requires the Scripting Module to be activated, it will depend on your Switch license if this functionality is available or not.
Hope this helps you?
Kind regards,
Carine
Sort on hotfolder
carineb wrote: you can also use the Hierarchy variable for this
Hi Carine!
Thank you, that solved the problem!
I now use Hierarchy value, had forgotten that function.
Best regards
Henrik
Hi Carine!
Thank you, that solved the problem!
I now use Hierarchy value, had forgotten that function.
Best regards
Henrik