Force Release Assemble Job
Force Release Assemble Job
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
It will help if you explain what it is you are trying to achieve.
Re: Force Release Assemble Job
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.
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
Hi Jason, there's an app for that: Counter - Numberer
No need to assemble, and no need to wait or release jobs.
.
No need to assemble, and no need to wait or release jobs.
.
Laurent De Wilde, Solution Architect @ Enfocus
- tdeschampsBluewest
- Member
- Posts: 156
- Joined: Tue Jun 01, 2021 11:57 am
Re: Force Release Assemble Job
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:
Here, the Switch Counter (for which you can set a custom width and unique ID) is divided by 5, representing your group size.
Example:
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:
Later in the Assemble job, you can always create a release condition based on the hour of the day.
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)"]
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.
Do you like the Enfocus Apps developed by Bluewest?
Feel free to leave a comment on the Appstore!
Feel free to leave a comment on the Appstore!
Re: Force Release Assemble Job
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?
Either using Assemble job or the Hold Job?
Or is there anotehr way or app?
Re: Force Release Assemble Job
I ended up creating my own script for grouping of job folders to a threshold and attempting to implemented the timer functionality now.