Can I trigger a form to fire after 50% of a production run is completed?
Answer: No, it is currently not possible to trigger a form based on a percentage of a production run using a standard offset. Triggers in OFS-Flow are based on absolute values, such as specific time durations, total unit counts, or machine state changes.
Because each production run varies in size, a fixed unit offset cannot dynamically calculate the "halfway" point for every unique job.
Workarounds: To achieve a check during the middle of a run, you can use the following methods:
-
Manual Trigger: Operators can manually raise the required form from the console once they observe the run is approximately halfway complete.
-
Rated Speed Unit Trigger: If your jobs have consistent hourly requirements, you can set a trigger based on the product's rated speed. For example, if a job is typically 1,000 units, you can set an offset and repeat of 500 units to capture a mid-point check.
Step 1 - In the triggers tab, click the job trigger and hit the + button
Step 2 - Click the Conditional Expression tab and toggle 'On'
Step 3 - The conditional expression for this is as follows:
jobmeta["ratedSpeed"]==1000

Step 4 - In the General tab, toggle on Repeat
Step 5 - Enter the number of units e.g. 500
Step 6 - Select the Units e.g. In
Step 7 - Select the lines it applies to
Step 8 - Click 'Update' and 'Save'
