Using Pack Measurement Microflows in AuraQ Document Templates
Learn to effectively implement Pack Measurement Microflows within AuraQ Document Templates for enhanced efficiency and accuracy.
Table of Contents
When generating documents in Merchanter, you may need to display measurement ranges for products that come in varying sizes. This is particularly useful for mixed with pack products—such as hardwood timber or piping,—where each pack contains items within a range of lengths, widths, or thicknesses.
Merchanter provides several microflows that can be added to your AuraQ document templates to display these measurement ranges automatically. This guide explains what each microflow does and how to use them effectively.
What Are These Microflows?
Microflows are small pieces of logic that retrieve specific information from the system. The following microflows have been added specifically for pack products, allowing you to display minimum and maximum measurements directly on your documents..
All of these microflows return text values that can be placed anywhere on your document template.
Microflow Reference Guide
GetPackMinAndMaxLengths
This microflow returns the range of lengths within a pack. For example, if the shortest item is 2.4 metres and the longest is 3.6 metres, it will return "2.4 - 3.6". If the minimum and maximum lengths are the same, it returns the number only once, such as "4.8".
GetPackMinAndMaxWidths
This microflow works the same way for widths. It returns a range like "20 - 25" if the pack contains items of varying widths, or a single number like "20" if all widths are identical.
GetPackMinAndMaxThicknesses
This microflow returns the thickness range for items within the pack. For example, "100 - 250" shows the minimum and maximum thicknesses present. If all items share the same thickness, only one number is displayed, such as "150".
Conditional Microflows for Specification Lines
The following microflows return a simple True or False result. These are useful for showing or hiding sections of your document template depending on whether a pack contains mixed measurements or specified lengths.
IsPackMixedSize
Returns True if the pack contains items of mixed sizes across any dimension (length, width, or thickness). Returns False if all items in the pack are identical in size.
IsPackMixedWidth
Returns True if the pack contains items of varying widths. Returns False if all widths are the same.
IsPackSpecifiedLengths
Returns True if the pack items have specified lengths recorded. Returns False if no lengths have been specified.
Using These Microflows in Your Document Templates
To include these measurements on your documents, you will need to add the relevant microflows to your AuraQ document template. This is typically done by inserting a merge field and adding a relevant name in the appropriate position on your template design.
For example, you might add <<GetPackLength>> to a delivery note to show the range of lengths being shipped. You could then use <<IsPackMixedWidth>> to conditionally display a note about varying widths only when the pack actually contains mixed widths.
Then in Merchanter in the AuraQ dashboard you will need to upload your document and map the fields to the correct microflow.
If you require assistance adding these microflows to your document templates, please contact the Ten-25 support team with details of where you would like the measurement information to appear.
Summary
These new microflows provide a flexible way to display pack measurement information on your AuraQ documents:
GetPackMinAndMaxLengths, GetPackMinAndMaxWidths, and GetPackMinAndMaxThicknesses return measurement ranges or single values as text
IsPackMixedSize, IsPackMixedWidth, and IsPackSpecifiedLengths return True or False for conditional formatting
Each microflow handles identical minimum and maximum values by returning the number only once
If you need help implementing these microflows in your document templates, or if you require additional measurement fields, please contact the Ten-25 support team.