Page 1 of 1

Force Release Assemble Job

Posted: Tue Nov 11, 2025 12:52 pm
by jasonx
Is it possible to force release Assumble job? I know there is a timeout but that won't work with what I am trying to achieve.

Re: Force Release Assemble Job

Posted: Wed Nov 12, 2025 9:24 am
by freddyp
It will help if you explain what it is you are trying to achieve.

Re: Force Release Assemble Job

Posted: Wed Nov 12, 2025 10:44 am
by jasonx
Hey Freddy,

I am trying to create a flow that will group 5 jobs together as they come in and be able to assign them all the same private data (Giving them the same Batch ID).

I also want to have a timeout at a certain point in the day where if 5 jobs aren't reached then they can be released by time or manually.

My current thought process was to use Assemble job so I could apply the same private data and then ungroup the jobs and keep processing.

I am trying to essentially create a batch of jobs made up of multiple files.

Re: Force Release Assemble Job

Posted: Wed Nov 12, 2025 2:05 pm
by laurentd
Hi Jason, there's an app for that: Counter - Numberer
No need to assemble, and no need to wait or release jobs.
.
batch.png
batch.png (57.52 KiB) Viewed 477 times

Re: Force Release Assemble Job

Posted: Thu Nov 13, 2025 10:09 am
by tdeschampsBluewest
Without using any additional app, it’s entirely possible to assign a common number that increases every five files, using only Switch’s basic elements.

In PrivateData, you can use the following sequence:

Code: Select all

myGroupID = [Switch.Calculation:Expression="round([Switch.Counter:Width="9",Id="someUniqueID"]/5+0.49999999)"]
Here, the Switch Counter (for which you can set a custom width and unique ID) is divided by 5, representing your group size.

Example:

Code: Select all

1 => 0.2  
2 => 0.4  
3 => 0.6  
4 => 0.8  
5 => 1.0  
6 => 1.2  
...

To make sure it rounds up correctly, you need to add 0.499999 before applying the round function, since Switch rounds to the nearest integer (.5 will be rounded up).

For instance:

Code: Select all

1 = round(0.2 + 0.4999) = 0.6999 => 1  
2 = round(0.4 + 0.4999) = 0.8999 => 1  
3 = round(0.6 + 0.4999) = 1.0999 => 1  
4 = round(0.8 + 0.4999) = 1.2999 => 1  
5 = round(1.0 + 0.4999) = 1.4999 => 1  
6 = round(1.2 + 0.4999) = 1.6999 => 2  

Later in the Assemble job, you can always create a release condition based on the hour of the day.

Re: Force Release Assemble Job

Posted: Thu Nov 13, 2025 11:34 am
by jasonx
How do you release the 5 jobs based on either there being 5 jobs or a time of day?

Either using Assemble job or the Hold Job?

Or is there anotehr way or app?

Re: Force Release Assemble Job

Posted: Thu Nov 27, 2025 10:30 am
by jasonx
I ended up creating my own script for grouping of job folders to a threshold and attempting to implemented the timer functionality now.