The order type editor: fields, statuses, steps and every step type, assigning tasks, and saving.
Open an order type from Workflow › Order Type to edit it. The editor has three tabs, Fields, Statuses and Steps, and one Save button that makes your changes live.
Required permission:
View Order Type
Edit Order Type
Without Edit Order Type the editor opens read-only and says You can view this Order Type but not change it.
The editor
Rename
Changes the order type’s name. See Rename an order type. The name itself is shown once, in the breadcrumb at the top.
Tabs
Fields, Statuses and Steps. After a save that found problems, a tab shows how many problems it holds, for example 2 problems.
Test order
Runs the order type on sample values without saving anything. See Test an order type.
Save
Saves your changes and, when nothing blocks it, makes them live for new orders. See Save and go live.
Add field
Adds a field to the order type.
Field row
One field per row, described below.
Fields
Fields are the data every order carries: customer, address, items. Each row has:
Setting
What it does
Title
The field’s name as people see it on the order form and the order page.
Type
What kind of value the field holds (see below).
Required
The order cannot be created without a value.
Show on table
Shows the field as a column in the order list.
Unique
No two orders of this order type may hold the same value. Not every type can be unique.
Delete (bin icon)
Removes the field. A field that orders already use is archived instead, and can be restored.
Drag a row by its handle to change the order of the fields.Field types:
Type
Holds
Text
Free text.
Number
A number.
Option
One of a list of options you type in.
Date, Date & time, Time
A date, a date and time, or a time of day.
Phone number
A phone number.
Coordinate
A map location.
Reference to data
A record from a data source.
List (line items)
Rows of items, with their own columns, for example item, quantity.
User
A user of your organization.
Yes / No
A yes or no answer.
Once orders hold a value for a field, its type can no longer be changed and it cannot be removed, only archived. The row says how many orders have a value.
Statuses
Add status
Adds a status.
Label
The status name people see, for example Picked up.
Category
Every status belongs to one category:
New: where every order starts. Add exactly one status in this category.
In progress: the order is being worked on.
Completed: the order is finished. These are marked Final; add at least one. A Finish order step can only end an order in a Completed status.
Drag a row to change the order of the statuses, or use the bin icon to remove one. A status that orders are currently in cannot change category or be removed.
Steps
The Steps tab is where you decide what happens to an order. It opens as a canvas, with a guide panel on the right.
Canvas / List
Switches between the canvas and a list of the steps.
Trigger
The first step: what starts the order.
Step card
Each card shows the step’s name and, below it, its type and the most important setting, for example Create task · Assign to: Siti Rahma (Supervisor).
Condition card
A Condition lists its rules. Each rule is its own exit, with its own path below it.
Canvas controls
Zoom out, Zoom in, Fit to screen and Auto-layout, which rearranges the steps neatly from top to bottom.
A short description of each step type. Hover the info icon of a type for more.The canvas is meant for a desktop or tablet. On a narrow screen it says Use a wider screen to drag and connect.
List view
List shows the same steps as a table, which is easier to scan on a large order type.
Step row
Each row shows the step’s Type, its Name, its Problems and where it Goes to. A Condition lists each rule with its next step, for example Approved: Delivery.
Add the first step
A new order type has an empty canvas with an Add first step tile.
Add first step
Opens Choose a trigger.
Order created
Starts when an order is created: from the order form, the API, an import, or a Task finished trigger of another order type. An order that is updated through its duplicate key does not start again.
Status becomes…
Starts when the order reaches the status you choose. It runs once per order, the first time the order reaches that status.
Task finished
Creates an order when a task of the chosen flow is done. See Task finished.An order type has one trigger.
Add the next step
Every card has a + under it. Click it to open What happens next?
Search steps
Filters the list by name.
Actions
Adds a new step: Create task, Condition, Update order or Finish order.
Connect to an existing step
Draws a line to a step that already exists instead, so two paths can join. Steps that cannot be used are greyed out and say why: Would loop or Already connected.On a desktop you can also drag from a card’s handle to another card to connect them. To remove a line, select it and click its Delete line button, or press Delete.
Read and edit a step
Click a card to open its summary in the side panel.
Settings
The step’s settings, read-only. Not set means a setting is still empty.
Next
Where the order goes after this step, and Add parallel step to start a second path from the same exit. For a Create task step the exit is When the task is done.
Comes from
The steps that lead here. Click one to jump to it.
Delete
Deletes the step. If other steps can then no longer be reached, the app names them and asks you to confirm with Delete only this.
Edit
Switches the panel to editing. Change the settings, then click Done.The step name at the top of the panel can be changed while editing. When no step is selected, the panel shows the guide: Getting started and the Step types.
Step types
Order created and Status becomes
Add next step
Adds the step that follows the trigger.
Connect to…
Connects the trigger to a step that already exists.Order created has no other settings. Status becomes… asks for the status: When the status becomes.
Task finished
A Task finished trigger creates orders from finished tasks, for example one order per finished Pickup task. Its settings:
Flow: which flow’s tasks start an order.
Only if (optional): conditions on the task’s answers. If they do not match, no order is created.
Task answers → order fields: which task answer fills each order field. A required order field with no value is reported as a problem.
How many orders: One per task, or One per row of a list in the task, so a task with five rows creates five orders.
Tasks created by an order never start a new order. Later steps can read the triggering task’s answers.
Create task
Creates a task and waits until it is done.
Flow
The flow the task is made from.
Assign to
Unassigned: the task is created without an assignee, to be assigned later.
A user: first choose a Role, then pick a user who holds that role. The card then reads Assign to: Siti Rahma (Supervisor).
How many tasks
One per order, or One per row of a list field of the order, so an order with three line items gets three tasks.
Task data
Fills fields of the new task, each from an order field, an earlier answer or a fixed value.
Save answers to the order
Copies answers from the finished task into order fields. Optional: a Condition can read answers without saving them.
Delete
Deletes the step.
Done
Leaves editing and shows the summary again.The task is created in the order’s hub. The order moves on when every task this step created is settled.
Condition
Sends the order down the path whose rule matches.
Rule name
The name of the rule, which is also the name of its exit on the card, for example Approved.
Value to check
An order field, an earlier task answer, or the attempt count of a Create task step.
Operator and value to compare
The operator (equals, does not equal, greater than, at least, less than, at most, contains, is empty) and what to compare with: a Fixed value or another field or answer. For a list, choose whether All rows or Any row must match.
Add condition (AND)
Adds another condition to the same rule. All of them must match.
Goes to
The step this rule’s path leads to, with Add next step and Connect to….Add more rules with Add rule, and use a rule’s ⋯ menu to move it up or down or delete it. Every rule that matches runs. If none matches, the order stops and needs attention, so cover every case, for example with both Approved and Rejected.
Update order
Sets order fields or the status.
Set fields
Add field sets an order field from an earlier answer, another field or a fixed value.
Set status
Don’t change: keeps the status.
Fixed status: always sets the chosen status.
From a choice answer: picks the status from an earlier choice answer, using an Answer → status table. An answer not in the table leaves the status unchanged.
Set at least one field or a status. Update order cannot set a Completed status; use Finish order for that.
Finish order
Sets the final status and ends the order.
Final status
A status in the Completed category.When a Finish order runs, other paths that are still running stop. A Finish order has no next step.
Problems
The editor checks the order type when you save. Problems appear on the cards, in the step panel under Problems and Warnings, and as a count on each tab. Common ones:
Add a trigger to start these steps, or An Order Type can have only one trigger.
Unreachable: no line leads here: a step no path reaches.
Dead end: every path must end at Finish order.
This line would make a loop: steps cannot go back to an earlier step.
… is required: a step setting is still empty, for example Flow is required.
No rule covers: …: a Condition leaves some choice answers without a path.
Add exactly one status in the category New and Add at least one status in the category Completed.
Save and go live
There is one Save. It saves your changes and checks the order type:
No problems: the changes go live at once and the app says Saved. New orders use it.
Only warnings: a Check these warnings dialog lists them. Click Save anyway to go live, or go back and fix them.
Problems: a Fix these to go live dialog lists them. Your changes are saved as a draft. They go live once these are fixed. The list shows the order type as Published · draft changes (or Draft if it was never live) until you fix them and save again.
Orders already running keep the version they started with; new orders use the latest live version.If someone else saved the same order type while you were editing, the app says This draft changed while you were editing and offers Reload to see their changes or Overwrite to keep yours. Leaving the editor with unsaved changes asks you to Discard changes or Keep editing.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Docs","colors":{"primary":"#02A8F3","light":"#02A8F3","dark":"#028FCF"},"logo":{"light":"https://mintcdn.com/mileappv4/4-4k1mCQWAH9iJzs/logo/light.svg?fit=max\u0026auto=format\u0026n=4-4k1mCQWAH9iJzs\u0026q=85\u0026s=636f1871edce2e036c3f9a3d7f1ba1de","dark":"https://mintcdn.com/mileappv4/4-4k1mCQWAH9iJzs/logo/dark.svg?fit=max\u0026auto=format\u0026n=4-4k1mCQWAH9iJzs\u0026q=85\u0026s=16cfbd7d24ceab76dfa46101769b2861"},"favicon":"https://mintcdn.com/mileappv4/peiftEpaYwfPKwMQ/favicon.ico?fit=max\u0026auto=format\u0026n=peiftEpaYwfPKwMQ\u0026q=85\u0026s=99d5623b726ff23fdbdd38c1ff12d38f","api":{"playground":{"display":"interactive"},"mdx":{"auth":{"method":"bearer"}}},"navbar":{"links":[{"href":"https://paket.freshdesk.com/support/home","label":"Support"}]},"search":{},"seo":{"metatags":{"robots":"noindex, nofollow"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"mileappv4","hasAudioNarration":false,"actualSubdomain":"mileappv4","customDomains":["docsv4.mile.app"],"gitSource":{"type":"gitlab","owner":"paketid","repo":"mileapp-docs","deployBranch":"v4","contentDirectory":"","isPrivate":true,"projectId":76553900,"mountPath":"","label":"","_id":"6b11026c9ffae5051c41e65e"},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6b063a84f0a829f40525db86","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"API Reference","count":378},{"language":"default","tag":"Guides","count":206},{"language":"default","tag":"Workflow","count":146},{"language":"default","tag":"Settings","count":114},{"language":"default","tag":"Planning","count":106},{"language":"default","tag":"Routing","count":97},{"language":"default","tag":"Activities","count":75},{"language":"default","tag":"Task","count":75},{"language":"default","tag":"Flow","count":50},{"language":"default","tag":"Analytics","count":46}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"control","enabled":true,"payload":{"type":"string","value":"control"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"custom.css","content":"header>a:first-child img,nav>a:first-child img,a[href=\"/\"]>img,img[src*=\"/logo/\"]{width:150px!important;height:auto!important;max-width:150px!important}"}]}
{"page":{"pagePath":"pages/workflow/order-type/building-an-order-type","slug":"/pages/workflow/order-type/building-an-order-type","pageMetadata":{"title":"Building an Order Type","description":"The order type editor: fields, statuses, steps and every step type, assigning tasks, and saving.","href":"/pages/workflow/order-type/building-an-order-type"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"The order type editor: fields, statuses, steps and every step type, assigning tasks, and saving.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,em:`em`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,tbody:`tbody`,td:`td`,th:`th`,thead:`thead`,tr:`tr`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Note,OptimizedImage,Table}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Table)_missingMdxReference(`Table`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Open an order type from `,_jsx(_components.strong,{children:`Workflow › Order Type`}),` to edit it. The editor has three tabs, `,_jsx(_components.strong,{children:`Fields`}),`, `,_jsx(_components.strong,{children:`Statuses`}),` and `,_jsx(_components.strong,{children:`Steps`}),`, and one `,_jsx(_components.strong,{children:`Save`}),` button that makes your changes live.`]}),`\n`,_jsxs(Note,{children:[_jsx(_components.p,{children:`Required permission:`}),_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`View Order Type`}),`\n`,_jsx(_components.li,{children:`Edit Order Type`}),`\n`]})]}),`\n`,_jsxs(_components.p,{children:[`Without `,_jsx(_components.strong,{children:`Edit Order Type`}),` the editor opens read-only and says `,_jsx(_components.strong,{children:`You can view this Order Type but not change it.`})]}),`\n`,_jsx(Heading,{level:`2`,id:`the-editor`,children:`The editor`}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/fields.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=7e1f32d5119755fe60c33dbf299658a9`,alt:`Order type editor on the Fields tab`,width:`600`,\"data-og-width\":`2880`,\"data-og-height\":`1184`,\"data-path\":`images/v4/workflow/order-type/fields.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/fields.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=9b96549d942109bc5014af2f0e7e4576 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/fields.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=83f5cdca9fa9f96b3d8a406d53fad524 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/fields.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=a582e4d2ed4f77317993234377534dec 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/fields.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=0e9280832529eebd7aae8b3d156405ef 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/fields.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=1bc84a7c4bba7c766d1df77643c571b3 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/fields.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=00d6fdbd6beee13e4318258bd6131ce6 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Rename`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Changes the order type’s name. See `,_jsx(_components.a,{href:`/pages/workflow/order-type/managing-order-types#rename-an-order-type`,children:`Rename an order type`}),`. The name itself is shown once, in the breadcrumb at the top.`]}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Tabs`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Fields`}),`, `,_jsx(_components.strong,{children:`Statuses`}),` and `,_jsx(_components.strong,{children:`Steps`}),`. After a save that found problems, a tab shows how many problems it holds, for example `,_jsx(_components.strong,{children:`2 problems`}),`.`]}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Test order`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Runs the order type on sample values without saving anything. See `,_jsx(_components.a,{href:`/pages/workflow/order-type/managing-order-types#test-an-order-type`,children:`Test an order type`}),`.`]}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Save`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Saves your changes and, when nothing blocks it, makes them live for new orders. See `,_jsx(_components.a,{href:`#save-and-go-live`,children:`Save and go live`}),`.`]}),`\n`,_jsxs(_components.ol,{start:`5`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Add field`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Adds a field to the order type.`}),`\n`,_jsxs(_components.ol,{start:`6`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Field row`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`One field per row, described below.`}),`\n`,_jsx(Heading,{level:`2`,id:`fields`,children:`Fields`}),`\n`,_jsx(_components.p,{children:`Fields are the data every order carries: customer, address, items. Each row has:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Setting`}),_jsx(_components.th,{children:`What it does`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Title`})}),_jsx(_components.td,{children:`The field’s name as people see it on the order form and the order page.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Type`})}),_jsx(_components.td,{children:`What kind of value the field holds (see below).`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Required`})}),_jsx(_components.td,{children:`The order cannot be created without a value.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Show on table`})}),_jsx(_components.td,{children:`Shows the field as a column in the order list.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Unique`})}),_jsx(_components.td,{children:`No two orders of this order type may hold the same value. Not every type can be unique.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Delete`}),` (bin icon)`]}),_jsx(_components.td,{children:`Removes the field. A field that orders already use is archived instead, and can be restored.`})]})]})]}),`\n`,_jsx(_components.p,{children:`Drag a row by its handle to change the order of the fields.`}),`\n`,_jsx(_components.p,{children:`Field types:`}),`\n`,_jsxs(Table,{children:[_jsx(_components.thead,{children:_jsxs(_components.tr,{children:[_jsx(_components.th,{children:`Type`}),_jsx(_components.th,{children:`Holds`})]})}),_jsxs(_components.tbody,{children:[_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Text`})}),_jsx(_components.td,{children:`Free text.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Number`})}),_jsx(_components.td,{children:`A number.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Option`})}),_jsx(_components.td,{children:`One of a list of options you type in.`})]}),_jsxs(_components.tr,{children:[_jsxs(_components.td,{children:[_jsx(_components.strong,{children:`Date`}),`, `,_jsx(_components.strong,{children:`Date \u0026 time`}),`, `,_jsx(_components.strong,{children:`Time`})]}),_jsx(_components.td,{children:`A date, a date and time, or a time of day.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Phone number`})}),_jsx(_components.td,{children:`A phone number.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Coordinate`})}),_jsx(_components.td,{children:`A map location.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Reference to data`})}),_jsx(_components.td,{children:`A record from a data source.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`List (line items)`})}),_jsx(_components.td,{children:`Rows of items, with their own columns, for example item, quantity.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`User`})}),_jsx(_components.td,{children:`A user of your organization.`})]}),_jsxs(_components.tr,{children:[_jsx(_components.td,{children:_jsx(_components.strong,{children:`Yes / No`})}),_jsx(_components.td,{children:`A yes or no answer.`})]})]})]}),`\n`,_jsx(Note,{children:_jsx(_components.p,{children:`Once orders hold a value for a field, its type can no longer be changed and it cannot be removed, only archived. The row says how many orders have a value.`})}),`\n`,_jsx(Heading,{level:`2`,id:`statuses`,children:`Statuses`}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/statuses.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=28465b3f4adf373d9ae35e48ba2e841e`,alt:`Statuses tab`,width:`600`,\"data-og-width\":`2184`,\"data-og-height\":`944`,\"data-path\":`images/v4/workflow/order-type/statuses.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/statuses.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=f4759d700d98e4ce9f1549279d86b2cb 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/statuses.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=bc0fb04640cbc1d2bbc40dfd9b11814f 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/statuses.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=8977432aef6f9f2328c7340d48227098 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/statuses.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=0f92d0ddca9b1ac1c397aaac51f8738f 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/statuses.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=9d777b6212104f2b33d809f702abd270 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/statuses.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=e4ab8a9975b29b0ca2fea8868c8edb75 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Add status`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Adds a status.`}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Label`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The status name people see, for example `,_jsx(_components.em,{children:`Picked up`}),`.`]}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Category`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Every status belongs to one category:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`New`}),`: where every order starts. Add exactly one status in this category.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`In progress`}),`: the order is being worked on.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Completed`}),`: the order is finished. These are marked `,_jsx(_components.strong,{children:`Final`}),`; add at least one. A `,_jsx(_components.strong,{children:`Finish order`}),` step can only end an order in a `,_jsx(_components.strong,{children:`Completed`}),` status.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Drag a row to change the order of the statuses, or use the bin icon to remove one. A status that orders are currently in cannot change category or be removed.`}),`\n`,_jsx(Heading,{level:`2`,id:`steps`,children:`Steps`}),`\n`,_jsxs(_components.p,{children:[`The `,_jsx(_components.strong,{children:`Steps`}),` tab is where you decide what happens to an order. It opens as a canvas, with a guide panel on the right.`]}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=a14d8fe47295d5739b1eddf56b30018b`,alt:`Steps tab with the canvas and the guide panel`,width:`600`,\"data-og-width\":`2832`,\"data-og-height\":`1744`,\"data-path\":`images/v4/workflow/order-type/steps.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=25ebfaceda2d562f830167b504a8f433 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=984720d411894c6dbccc3603ee28f5cc 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=baf6ddc9f4fb90b5c712746a07d6afff 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=7f4bdb656284ad554dd1244a5d87e586 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=6165ee4a4736ffa1e54a4c3358bf8c5d 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=1852dc554087261bde7119c8d3bb3f18 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Canvas / List`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Switches between the canvas and a list of the steps.`}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Trigger`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`The first step: what starts the order.`}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Step card`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Each card shows the step’s name and, below it, its type and the most important setting, for example `,_jsx(_components.em,{children:`Create task · Assign to: Siti Rahma (Supervisor)`}),`.`]}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Condition card`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`A Condition lists its rules. Each rule is its own exit, with its own path below it.`}),`\n`,_jsxs(_components.ol,{start:`5`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Canvas controls`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Zoom out`}),`, `,_jsx(_components.strong,{children:`Zoom in`}),`, `,_jsx(_components.strong,{children:`Fit to screen`}),` and `,_jsx(_components.strong,{children:`Auto-layout`}),`, which rearranges the steps neatly from top to bottom.`]}),`\n`,_jsxs(_components.ol,{start:`6`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Play tutorial`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Plays a one-minute demo of building an order type. See `,_jsx(_components.a,{href:`/pages/workflow/order-type/getting-started-tutorial`,children:`Getting Started Tutorial`}),`.`]}),`\n`,_jsxs(_components.ol,{start:`7`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Step types`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`A short description of each step type. Hover the info icon of a type for more.`}),`\n`,_jsxs(_components.p,{children:[`The canvas is meant for a desktop or tablet. On a narrow screen it says `,_jsx(_components.strong,{children:`Use a wider screen to drag and connect`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`list-view`,children:`List view`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`List`}),` shows the same steps as a table, which is easier to scan on a large order type.`]}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps-list.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=03a97be4d91eb1262139abe41c73a294`,alt:`Steps as a list`,width:`600`,\"data-og-width\":`2832`,\"data-og-height\":`882`,\"data-path\":`images/v4/workflow/order-type/steps-list.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps-list.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=1035b21019355c1bc1f192ab01e1aa0d 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps-list.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=81e03d00b47f81da60e077271176a742 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps-list.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=b2848b08e35afc3933a80f53b479bf3d 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps-list.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=91d29bc88b4a3de9e1e324d814809204 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps-list.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=6ffcb41deb8dc42945a90361d3ae89ba 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/steps-list.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=ad1a6ca132f53d8454d8b72a968c98b3 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Step row`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Each row shows the step’s `,_jsx(_components.strong,{children:`Type`}),`, its `,_jsx(_components.strong,{children:`Name`}),`, its `,_jsx(_components.strong,{children:`Problems`}),` and where it `,_jsx(_components.strong,{children:`Goes to`}),`. A Condition lists each rule with its next step, for example `,_jsx(_components.em,{children:`Approved: Delivery`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`add-the-first-step`,children:`Add the first step`}),`\n`,_jsxs(_components.p,{children:[`A new order type has an empty canvas with an `,_jsx(_components.strong,{children:`Add first step`}),` tile.`]}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/empty-canvas.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=8fb95eb280e23e286d50c51d4801b655`,alt:`Empty canvas with the Add first step tile`,width:`600`,\"data-og-width\":`2832`,\"data-og-height\":`1276`,\"data-path\":`images/v4/workflow/order-type/empty-canvas.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/empty-canvas.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=d56c41ac1d8b8af35e1cda558688862f 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/empty-canvas.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=142823fe878e74f959e81f506e32c3a9 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/empty-canvas.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=1de1f562125b1010f559649b5944ec82 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/empty-canvas.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=ea2a061e48999477c9909ec66d3c108a 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/empty-canvas.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=7030bacbd12d25913c40c8374b1de135 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/empty-canvas.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=998030eeb0c347f943cc4cf2787e7da2 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Add first step`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Opens `,_jsx(_components.strong,{children:`Choose a trigger`}),`.`]}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/trigger-picker.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=9214230e9b630ca906773b50db36065e`,alt:`Choose a trigger`,width:`600`,\"data-og-width\":`1120`,\"data-og-height\":`600`,\"data-path\":`images/v4/workflow/order-type/trigger-picker.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/trigger-picker.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=414c4c7cb1206fb342c28518030142c8 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/trigger-picker.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=992b307ed67a63402ec6da860f6ac9ba 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/trigger-picker.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=727e3bb9f1f5a7beeb25cddff616a6b5 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/trigger-picker.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=9254f3b0aeca05c21d1270f059b89caf 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/trigger-picker.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=7c0c6d00d5e5978daab8739298e8686e 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/trigger-picker.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=2d383d3dcb06f1ac0e41a4daefacf087 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Order created`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Starts when an order is created: from the order form, the API, an import, or a `,_jsx(_components.strong,{children:`Task finished`}),` trigger of another order type. An order that is updated through its duplicate key does not start again.`]}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Status becomes…`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Starts when the order reaches the status you choose. It runs once per order, the first time the order reaches that status.`}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Task finished`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Creates an order when a task of the chosen flow is done. See `,_jsx(_components.a,{href:`#task-finished`,children:`Task finished`}),`.`]}),`\n`,_jsx(_components.p,{children:`An order type has one trigger.`}),`\n`,_jsx(Heading,{level:`3`,id:`add-the-next-step`,children:`Add the next step`}),`\n`,_jsxs(_components.p,{children:[`Every card has a `,_jsx(_components.strong,{children:`+`}),` under it. Click it to open `,_jsx(_components.strong,{children:`What happens next?`})]}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-picker.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=cc3a71749ba4218b7fbd41cc68885559`,alt:`What happens next? picker`,width:`600`,\"data-og-width\":`1120`,\"data-og-height\":`966`,\"data-path\":`images/v4/workflow/order-type/step-picker.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-picker.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=dd7293f8bc8263ca62510c76d9f606ad 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-picker.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=f3b6158d0ecf43e54848e7611d985d97 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-picker.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=c6efe25b2bd6c8acd85b601a28fa70e0 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-picker.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=6a0e6b9b80ce2f4a6a9212fdb80185cf 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-picker.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=efa886b061dd005170a122e58e63f34b 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-picker.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=3040123f304cf0138cd9d2e314e25844 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Search steps`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Filters the list by name.`}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Actions`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Adds a new step: `,_jsx(_components.strong,{children:`Create task`}),`, `,_jsx(_components.strong,{children:`Condition`}),`, `,_jsx(_components.strong,{children:`Update order`}),` or `,_jsx(_components.strong,{children:`Finish order`}),`.`]}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Connect to an existing step`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Draws a line to a step that already exists instead, so two paths can join. Steps that cannot be used are greyed out and say why: `,_jsx(_components.strong,{children:`Would loop`}),` or `,_jsx(_components.strong,{children:`Already connected`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`On a desktop you can also drag from a card’s handle to another card to connect them. To remove a line, select it and click its `,_jsx(_components.strong,{children:`Delete line`}),` button, or press Delete.`]}),`\n`,_jsx(Heading,{level:`3`,id:`read-and-edit-a-step`,children:`Read and edit a step`}),`\n`,_jsx(_components.p,{children:`Click a card to open its summary in the side panel.`}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-summary.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=d194d7310287ca00ed044e07687ca280`,alt:`Step summary panel`,width:`400`,\"data-og-width\":`1144`,\"data-og-height\":`1744`,\"data-path\":`images/v4/workflow/order-type/step-summary.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-summary.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=6d19cb420a1806afe3dfcd60ec9fc7ac 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-summary.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=a0de5b87336ef6fb5daa072642ae89b7 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-summary.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=ea299998f1c4fff31337b29410a19002 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-summary.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=102af10d039c2bc02f550fb68563df03 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-summary.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=dea70554dc3a5739ddbdcc3999ead690 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/step-summary.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=2085ab121a7653155dcd7198aeb20068 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Settings`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The step’s settings, read-only. `,_jsx(_components.strong,{children:`Not set`}),` means a setting is still empty.`]}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Next`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Where the order goes after this step, and `,_jsx(_components.strong,{children:`Add parallel step`}),` to start a second path from the same exit. For a Create task step the exit is `,_jsx(_components.strong,{children:`When the task is done`}),`.`]}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Comes from`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`The steps that lead here. Click one to jump to it.`}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Delete`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Deletes the step. If other steps can then no longer be reached, the app names them and asks you to confirm with `,_jsx(_components.strong,{children:`Delete only this`}),`.`]}),`\n`,_jsxs(_components.ol,{start:`5`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Edit`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Switches the panel to editing. Change the settings, then click `,_jsx(_components.strong,{children:`Done`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`The step name at the top of the panel can be changed while editing. When no step is selected, the panel shows the guide: `,_jsx(_components.strong,{children:`Getting started`}),` and the `,_jsx(_components.strong,{children:`Step types`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`step-types`,children:`Step types`}),`\n`,_jsx(Heading,{level:`3`,id:`order-created-and-status-becomes`,children:`Order created and Status becomes`}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-trigger.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=3932621c6a100b822b2ca89e88d95c88`,alt:`Order created trigger settings`,width:`400`,\"data-og-width\":`1144`,\"data-og-height\":`1744`,\"data-path\":`images/v4/workflow/order-type/edit-trigger.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-trigger.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=76aef74ab616d51a33af2da7fdbb3bf5 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-trigger.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=387102d303bd3849bab2ac78a3b20c1b 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-trigger.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=140f5e9b83b2a049b93d2c8352648423 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-trigger.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=354d5f772b37aa45f0f593fcc8e259b0 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-trigger.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=3aa8b8ea52d457ea3ea0c013bc1742b6 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-trigger.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=f1b7c4e1e7feaa4c0d201047c797d714 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Add next step`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Adds the step that follows the trigger.`}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Connect to…`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Connects the trigger to a step that already exists.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Order created`}),` has no other settings. `,_jsx(_components.strong,{children:`Status becomes…`}),` asks for the status: `,_jsx(_components.strong,{children:`When the status becomes`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`task-finished`,children:`Task finished`}),`\n`,_jsxs(_components.p,{children:[`A `,_jsx(_components.strong,{children:`Task finished`}),` trigger creates orders from finished tasks, for example one order per finished `,_jsx(_components.em,{children:`Pickup`}),` task. Its settings:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Flow`}),`: which flow’s tasks start an order.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Only if (optional)`}),`: conditions on the task’s answers. If they do not match, no order is created.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Task answers → order fields`}),`: which task answer fills each order field. A required order field with no value is reported as a problem.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`How many orders`}),`: `,_jsx(_components.strong,{children:`One per task`}),`, or `,_jsx(_components.strong,{children:`One per row of`}),` a list in the task, so a task with five rows creates five orders.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Tasks created by an order never start a new order. Later steps can read the triggering task’s answers.`}),`\n`,_jsx(Heading,{level:`3`,id:`create-task`,children:`Create task`}),`\n`,_jsx(_components.p,{children:`Creates a task and waits until it is done.`}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-create-task.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=4ab845597a78a56059e7c400ed69f63c`,alt:`Create task settings`,width:`400`,\"data-og-width\":`1144`,\"data-og-height\":`1744`,\"data-path\":`images/v4/workflow/order-type/edit-create-task.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-create-task.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=bb85e643e8683676f1b16e07554b94e6 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-create-task.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=6a9205ec62c32a2e5efdafce98ab1816 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-create-task.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=5a15e36044a96790b1e2b6d54050fa78 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-create-task.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=730dfdbf258dc8cff0ab70f613789652 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-create-task.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=3e6b5943d4918480c4306ea1d43680ab 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-create-task.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=dc14dac8346102cb5ca4fea6c882871b 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Flow`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`The flow the task is made from.`}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Assign to`})}),`\n`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Unassigned`}),`: the task is created without an assignee, to be assigned later.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`A user`}),`: first choose a `,_jsx(_components.strong,{children:`Role`}),`, then pick a user who holds that role. The card then reads `,_jsx(_components.em,{children:`Assign to: Siti Rahma (Supervisor)`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`How many tasks`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`One per order`}),`, or `,_jsx(_components.strong,{children:`One per row of`}),` a list field of the order, so an order with three line items gets three tasks.`]}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Task data`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Fills fields of the new task, each from an order field, an earlier answer or a fixed value.`}),`\n`,_jsxs(_components.ol,{start:`5`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Save answers to the order`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Copies answers from the finished task into order fields. Optional: a Condition can read answers without saving them.`}),`\n`,_jsxs(_components.ol,{start:`6`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Delete`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Deletes the step.`}),`\n`,_jsxs(_components.ol,{start:`7`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Done`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Leaves editing and shows the summary again.`}),`\n`,_jsx(_components.p,{children:`The task is created in the order’s hub. The order moves on when every task this step created is settled.`}),`\n`,_jsx(Heading,{level:`3`,id:`condition`,children:`Condition`}),`\n`,_jsx(_components.p,{children:`Sends the order down the path whose rule matches.`}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-condition.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=f9d03dd57a1f25eff05dddba781593ec`,alt:`Condition settings`,width:`400`,\"data-og-width\":`1144`,\"data-og-height\":`1744`,\"data-path\":`images/v4/workflow/order-type/edit-condition.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-condition.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=fb2915cd6d2e17490a30626587157e97 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-condition.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=2af54ffd68d2db508764521043062229 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-condition.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=82b8989ac2c2e716ced1c8c6dc709f4f 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-condition.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=c80be0643c825f517eab608456b8f67e 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-condition.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=65d86cb0db516278f48080053717848c 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-condition.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=c45d63026f0b14effa58ac21768b7812 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Rule name`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The name of the rule, which is also the name of its exit on the card, for example `,_jsx(_components.em,{children:`Approved`}),`.`]}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Value to check`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`An order field, an earlier task answer, or the attempt count of a Create task step.`}),`\n`,_jsxs(_components.ol,{start:`3`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Operator and value to compare`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The operator (`,_jsx(_components.strong,{children:`equals`}),`, `,_jsx(_components.strong,{children:`does not equal`}),`, `,_jsx(_components.strong,{children:`greater than`}),`, `,_jsx(_components.strong,{children:`at least`}),`, `,_jsx(_components.strong,{children:`less than`}),`, `,_jsx(_components.strong,{children:`at most`}),`, `,_jsx(_components.strong,{children:`contains`}),`, `,_jsx(_components.strong,{children:`is empty`}),`) and what to compare with: a `,_jsx(_components.strong,{children:`Fixed value`}),` or another field or answer. For a list, choose whether `,_jsx(_components.strong,{children:`All rows`}),` or `,_jsx(_components.strong,{children:`Any row`}),` must match.`]}),`\n`,_jsxs(_components.ol,{start:`4`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Add condition (AND)`})}),`\n`]}),`\n`,_jsx(_components.p,{children:`Adds another condition to the same rule. All of them must match.`}),`\n`,_jsxs(_components.ol,{start:`5`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Goes to`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The step this rule’s path leads to, with `,_jsx(_components.strong,{children:`Add next step`}),` and `,_jsx(_components.strong,{children:`Connect to…`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Add more rules with `,_jsx(_components.strong,{children:`Add rule`}),`, and use a rule’s `,_jsx(_components.strong,{children:`⋯`}),` menu to move it up or down or delete it. Every rule that matches runs. If none matches, the order stops and needs attention, so cover every case, for example with both `,_jsx(_components.em,{children:`Approved`}),` and `,_jsx(_components.em,{children:`Rejected`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`update-order`,children:`Update order`}),`\n`,_jsx(_components.p,{children:`Sets order fields or the status.`}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-update.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=7b46cb34e7aae89da0cb2ec3a2dae9bd`,alt:`Update order settings`,width:`400`,\"data-og-width\":`1144`,\"data-og-height\":`1744`,\"data-path\":`images/v4/workflow/order-type/edit-update.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-update.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=f8af8e2beac35ecd13b0ce09d8697d69 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-update.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=74fddc80eb286d0255d4106781c6a13c 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-update.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=9eb29047308a70109e47b5e6f44849e7 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-update.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=f28761b23f69a17b74b9f510690a9ee6 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-update.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=fc52e6cb9a0328f7fd3e4fa7a40a58a9 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-update.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=9a105031bac306b40ff7421c4b7047ef 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Set fields`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Add field`}),` sets an order field from an earlier answer, another field or a fixed value.`]}),`\n`,_jsxs(_components.ol,{start:`2`,children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Set status`})}),`\n`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Don’t change`}),`: keeps the status.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Fixed status`}),`: always sets the chosen status.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`From a choice answer`}),`: picks the status from an earlier choice answer, using an `,_jsx(_components.strong,{children:`Answer → status`}),` table. An answer not in the table leaves the status unchanged.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`Set at least one field or a status. Update order cannot set a `,_jsx(_components.strong,{children:`Completed`}),` status; use `,_jsx(_components.strong,{children:`Finish order`}),` for that.`]}),`\n`,_jsx(Heading,{level:`3`,id:`finish-order`,children:`Finish order`}),`\n`,_jsx(_components.p,{children:`Sets the final status and ends the order.`}),`\n`,_jsx(`div`,{align:`center`,children:_jsx(OptimizedImage,{src:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-finish.png?fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=ceb74bb4c7b03141b84f08f2bafa4242`,alt:`Finish order settings`,width:`400`,\"data-og-width\":`1144`,\"data-og-height\":`1104`,\"data-path\":`images/v4/workflow/order-type/edit-finish.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-finish.png?w=280\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=847a989a6dd26e5600a4a122276e3f3a 280w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-finish.png?w=560\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=c22e1ee818e6c522f179cc5edbc00832 560w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-finish.png?w=840\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=1661e6bf55a9c4b10fb6b2549a024b86 840w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-finish.png?w=1100\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=922ee49c3b1867b18da2f5147339b30d 1100w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-finish.png?w=1650\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=e6cb19134d73789317ce043e979e6cde 1650w, https://mintcdn.com/mileappv4/Zv-R0yz4NrNyQHzp/images/v4/workflow/order-type/edit-finish.png?w=2500\u0026fit=max\u0026auto=format\u0026n=Zv-R0yz4NrNyQHzp\u0026q=85\u0026s=64dd8dcce1cef162d3255797bec858b4 2500w`})}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Final status`})}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`A status in the `,_jsx(_components.strong,{children:`Completed`}),` category.`]}),`\n`,_jsx(_components.p,{children:`When a Finish order runs, other paths that are still running stop. A Finish order has no next step.`}),`\n`,_jsx(Heading,{level:`2`,id:`problems`,children:`Problems`}),`\n`,_jsxs(_components.p,{children:[`The editor checks the order type when you save. Problems appear on the cards, in the step panel under `,_jsx(_components.strong,{children:`Problems`}),` and `,_jsx(_components.strong,{children:`Warnings`}),`, and as a count on each tab. Common ones:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Add a trigger to start these steps`}),`, or `,_jsx(_components.strong,{children:`An Order Type can have only one trigger`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Unreachable: no line leads here`}),`: a step no path reaches.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Dead end: every path must end at Finish order`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`This line would make a loop`}),`: steps cannot go back to an earlier step.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`… is required`}),`: a step setting is still empty, for example `,_jsx(_components.strong,{children:`Flow is required`}),`.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No rule covers: …`}),`: a Condition leaves some choice answers without a path.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Add exactly one status in the category New`}),` and `,_jsx(_components.strong,{children:`Add at least one status in the category Completed`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`save-and-go-live`,children:`Save and go live`}),`\n`,_jsxs(_components.p,{children:[`There is one `,_jsx(_components.strong,{children:`Save`}),`. It saves your changes and checks the order type:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`No problems`}),`: the changes go live at once and the app says `,_jsx(_components.strong,{children:`Saved. New orders use it.`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Only warnings`}),`: a `,_jsx(_components.strong,{children:`Check these warnings`}),` dialog lists them. Click `,_jsx(_components.strong,{children:`Save anyway`}),` to go live, or go back and fix them.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Problems`}),`: a `,_jsx(_components.strong,{children:`Fix these to go live`}),` dialog lists them. `,_jsx(_components.strong,{children:`Your changes are saved as a draft. They go live once these are fixed.`}),` The list shows the order type as `,_jsx(_components.strong,{children:`Published · draft changes`}),` (or `,_jsx(_components.strong,{children:`Draft`}),` if it was never live) until you fix them and save again.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Orders already running keep the version they started with; new orders use the latest live version.`}),`\n`,_jsxs(_components.p,{children:[`If someone else saved the same order type while you were editing, the app says `,_jsx(_components.strong,{children:`This draft changed while you were editing`}),` and offers `,_jsx(_components.strong,{children:`Reload`}),` to see their changes or `,_jsx(_components.strong,{children:`Overwrite`}),` to keep yours. Leaving the editor with unsaved changes asks you to `,_jsx(_components.strong,{children:`Discard changes`}),` or `,_jsx(_components.strong,{children:`Keep editing`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Building an Order Type","description":"The order type editor: fields, statuses, steps and every step type, assigning tasks, and saving.","href":"/pages/workflow/order-type/building-an-order-type"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"The editor","slug":"the-editor","depth":2,"children":[]},{"title":"Fields","slug":"fields","depth":2,"children":[]},{"title":"Statuses","slug":"statuses","depth":2,"children":[]},{"title":"Steps","slug":"steps","depth":2,"children":[{"title":"List view","slug":"list-view","depth":3,"children":[]},{"title":"Add the first step","slug":"add-the-first-step","depth":3,"children":[]},{"title":"Add the next step","slug":"add-the-next-step","depth":3,"children":[]},{"title":"Read and edit a step","slug":"read-and-edit-a-step","depth":3,"children":[]}]},{"title":"Step types","slug":"step-types","depth":2,"children":[{"title":"Order created and Status becomes","slug":"order-created-and-status-becomes","depth":3,"children":[]},{"title":"Task finished","slug":"task-finished","depth":3,"children":[]},{"title":"Create task","slug":"create-task","depth":3,"children":[]},{"title":"Condition","slug":"condition","depth":3,"children":[]},{"title":"Update order","slug":"update-order","depth":3,"children":[]},{"title":"Finish order","slug":"finish-order","depth":3,"children":[]}]},{"title":"Problems","slug":"problems","depth":2,"children":[]},{"title":"Save and go live","slug":"save-and-go-live","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/_mintlify/custom/mileappv4/d5a0deebf54d7f30/scripts/build-openapi.js","/_mintlify/custom/mileappv4/bbd4ec23fcfb0c2b/scripts/check-schema.js","/_mintlify/custom/mileappv4/4154158bbff482b1/scripts/generate-tag-overviews.js"],"subdomain":"mileappv4","siteName":"Docs","title":"Building an Order Type - Docs","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-16T00:35:24.176Z","originalFileLocation":"pages/workflow/order-type/building-an-order-type.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"The order type editor: fields, statuses, steps and every step type, assigning tasks, and saving.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mileappv4/StpLAiWQ5_0ov0MJ/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/mileappv4/StpLAiWQ5_0ov0MJ/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mileappv4/StpLAiWQ5_0ov0MJ/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mileappv4/StpLAiWQ5_0ov0MJ/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mileappv4/StpLAiWQ5_0ov0MJ/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/mileappv4/StpLAiWQ5_0ov0MJ/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/mileappv4/StpLAiWQ5_0ov0MJ/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/mileappv4/StpLAiWQ5_0ov0MJ/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/mileappv4/StpLAiWQ5_0ov0MJ/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Building an Order Type - Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"The order type editor: fields, statuses, steps and every step type, assigning tasks, and saving.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docsv4.mile.app/pages/workflow/order-type/building-an-order-type\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://mileappv4.mintlify.site/_mintlify/api/og/v2?division=Order+Type\u0026amp;title=Building+an+Order+Type\u0026amp;description=The+order+type+editor%3A+fields%2C+statuses%2C+steps+and+every+step+type%2C+assigning+tasks%2C+and+saving.\u0026amp;theme=f92dcdecdd960810ce861310\u0026amp;signature=07977445edadfefeef392fd53329a62133fe1a292bcb36d36b474e12e8545546\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Building an Order Type - Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"The order type editor: fields, statuses, steps and every step type, assigning tasks, and saving.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://mileappv4.mintlify.site/_mintlify/api/og/v2?division=Order+Type\u0026amp;title=Building+an+Order+Type\u0026amp;description=The+order+type+editor%3A+fields%2C+statuses%2C+steps+and+every+step+type%2C+assigning+tasks%2C+and+saving.\u0026amp;theme=f92dcdecdd960810ce861310\u0026amp;signature=07977445edadfefeef392fd53329a62133fe1a292bcb36d36b474e12e8545546\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/mileappv4/StpLAiWQ5_0ov0MJ/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#02A8F3\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docsv4.mile.app/pages/workflow/order-type/building-an-order-type\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/pages/workflow/order-type/building-an-order-type.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docsv4.mile.app/#organization\",\"name\":\"Docs\",\"url\":\"https://docsv4.mile.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/mileappv4/4-4k1mCQWAH9iJzs/logo/light.svg?fit=max\u0026auto=format\u0026n=4-4k1mCQWAH9iJzs\u0026q=85\u0026s=636f1871edce2e036c3f9a3d7f1ba1de\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docsv4.mile.app#website\",\"name\":\"Docs\",\"url\":\"https://docsv4.mile.app\",\"publisher\":{\"@id\":\"https://docsv4.mile.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docsv4.mile.app/pages/workflow/order-type/building-an-order-type#webpage\",\"url\":\"https://docsv4.mile.app/pages/workflow/order-type/building-an-order-type\",\"name\":\"Building an Order Type\",\"description\":\"The order type editor: fields, statuses, steps and every step type, assigning tasks, and saving.\",\"dateModified\":\"2026-11-16T00:35:24.176Z\",\"isPartOf\":{\"@id\":\"https://docsv4.mile.app#website\"},\"breadcrumb\":{\"@id\":\"https://docsv4.mile.app/pages/workflow/order-type/building-an-order-type#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docsv4.mile.app/pages/workflow/order-type/building-an-order-type#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Workflow\",\"item\":\"https://docsv4.mile.app/pages/workflow/flow/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Order Type\",\"item\":\"https://docsv4.mile.app/pages/workflow/order-type/introduction\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Building an Order Type\",\"item\":\"https://docsv4.mile.app/pages/workflow/order-type/building-an-order-type\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docsv4.mile.app/pages/workflow/order-type/building-an-order-type#article\",\"headline\":\"Building an Order Type\",\"name\":\"Building an Order Type\",\"description\":\"The order type editor: fields, statuses, steps and every step type, assigning tasks, and saving.\",\"url\":\"https://docsv4.mile.app/pages/workflow/order-type/building-an-order-type\",\"mainEntityOfPage\":{\"@id\":\"https://docsv4.mile.app/pages/workflow/order-type/building-an-order-type#webpage\"},\"dateModified\":\"2026-11-16T00:35:24.176Z\",\"publisher\":{\"@id\":\"https://docsv4.mile.app/#organization\"},\"isPartOf\":{\"@id\":\"https://docsv4.mile.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/pages/workflow/order-type/building-an-order-type.md","siteName":"Docs","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Getting Started","pages":[{"title":"Introduction","href":"/pages/getting-started/introduction"},{"title":"Quick Start","href":"/pages/getting-started/quick-start"},{"title":"Notifications and Help","href":"/pages/getting-started/notifications-and-help"},{"title":"What's New","href":"/pages/whats-new"}]},{"group":"Analytics","pages":[{"group":"Dashboard","pages":[{"title":"Dashboard","href":"/pages/analytics/dashboard/introduction"},{"title":"Dashboard Templates","href":"/pages/analytics/dashboard/dashboard-templates"},{"title":"Dashboard Widgets","href":"/pages/analytics/dashboard/dashboard-widgets"},{"title":"Editing a Dashboard","href":"/pages/analytics/dashboard/editing-a-dashboard"},{"title":"Custom Widget","href":"/pages/analytics/dashboard/custom-widget"},{"title":"Widget Templates","href":"/pages/analytics/dashboard/widget-templates"},{"title":"Sharing a Dashboard","href":"/pages/analytics/dashboard/sharing-a-dashboard"}]},{"title":"Insight","href":"/pages/analytics/insight"},{"group":"Report","pages":[{"title":"Report","href":"/pages/analytics/report/introduction"},{"title":"Creating a Report","href":"/pages/analytics/report/creating-a-report"},{"title":"Viewing and Exporting a Report","href":"/pages/analytics/report/viewing-and-exporting"}]}]},{"group":"Planning","pages":[{"group":"Routing","pages":[{"title":"Routing","href":"/pages/planning/routing/introduction"},{"title":"How to Use Routing","href":"/pages/planning/routing/how-to-use"},{"title":"Visit","href":"/pages/planning/routing/visit"},{"group":"Vehicle","pages":[{"title":"Vehicle","href":"/pages/planning/routing/vehicle"},{"title":"Vehicle Maintenance","href":"/pages/planning/routing/vehicle/vehicle-maintenance"}]},{"group":"Configuration","pages":[{"title":"Configuration","href":"/pages/planning/routing/configuration/introduction"},{"title":"Use All Vehicle","href":"/pages/planning/routing/configuration/use-all-vehicle"},{"title":"Multi Trip","href":"/pages/planning/routing/configuration/multi-trip"},{"title":"Return to Hub","href":"/pages/planning/routing/configuration/return-to-hub"},{"title":"Capacity Constraint","href":"/pages/planning/routing/configuration/capacity-constraint"},{"title":"Cross Docking","href":"/pages/planning/routing/configuration/cross-docking"},{"title":"Auto Split","href":"/pages/planning/routing/configuration/auto-split"},{"title":"Clustering","href":"/pages/planning/routing/configuration/clustering"},{"title":"Auto Merge","href":"/pages/planning/routing/configuration/auto-merge"},{"title":"Dynamic Visit Time","href":"/pages/planning/routing/configuration/dynamic-visit-time"},{"title":"Geotagging","href":"/pages/planning/routing/configuration/geotagging"},{"title":"Visit Group","href":"/pages/planning/routing/configuration/visit-group"},{"title":"Avoid Toll Roads","href":"/pages/planning/routing/configuration/avoid-toll-roads"},{"title":"Odd Even","href":"/pages/planning/routing/configuration/odd-even"}]},{"group":"Result","pages":[{"title":"Result","href":"/pages/planning/routing/result/introduction"},{"title":"Summary","href":"/pages/planning/routing/result/summary"},{"title":"Vehicle Detail","href":"/pages/planning/routing/result/vehicle-detail"},{"title":"Visit Detail","href":"/pages/planning/routing/result/visit-detail"},{"title":"Dropped Visit","href":"/pages/planning/routing/result/dropped-visit"},{"title":"Editing a Result","href":"/pages/planning/routing/result/editing"},{"title":"Search, Filter, Delete","href":"/pages/planning/routing/result/search-filter-delete"},{"title":"Dispatch","href":"/pages/planning/routing/result/dispatch"}]}]},{"group":"Schedule","pages":[{"title":"Task Schedule","href":"/pages/planning/schedule/task-schedule"},{"title":"Creating a Task Schedule","href":"/pages/planning/schedule/creating-a-task-schedule"},{"group":"Repeat Cycle","pages":[{"title":"Repeat Daily","href":"/pages/planning/schedule/repeat-cycle/daily"},{"title":"Repeat Weekly","href":"/pages/planning/schedule/repeat-cycle/weekly"},{"title":"Repeat Monthly","href":"/pages/planning/schedule/repeat-cycle/monthly"},{"title":"Repeat on Fixed Dates","href":"/pages/planning/schedule/repeat-cycle/by-date"},{"title":"Custom Cycle","href":"/pages/planning/schedule/repeat-cycle/custom"}]},{"title":"Manage Task Schedules","href":"/pages/planning/schedule/manage-task-schedules"},{"title":"Calendar View","href":"/pages/planning/schedule/calendar-view"},{"title":"Bulk Create Task Schedules","href":"/pages/planning/schedule/bulk-create-task-schedules"},{"group":"Routing Schedule","pages":[{"title":"Routing Schedule","href":"/pages/planning/schedule/routing-schedule/introduction"},{"title":"Creating a Routing Schedule","href":"/pages/planning/schedule/routing-schedule/creating"},{"title":"Managing Routing Schedules","href":"/pages/planning/schedule/routing-schedule/managing"}]}]}]},{"group":"Monitoring","pages":[{"title":"Tracking","href":"/pages/monitoring/tracking/introduction"},{"title":"Map Icons and Routes","href":"/pages/monitoring/tracking/map-icons-and-routes"},{"title":"User Details","href":"/pages/monitoring/tracking/user-details"},{"title":"Filter and History","href":"/pages/monitoring/tracking/filter-and-history"},{"title":"Emergency Alerts","href":"/pages/monitoring/tracking/emergency-alerts"},{"title":"Alert","href":"/pages/monitoring/alert"},{"title":"Chat","href":"/pages/monitoring/chat/introduction"},{"title":"Broadcast","href":"/pages/monitoring/chat/broadcast"}]},{"group":"Activities","pages":[{"group":"Task","pages":[{"title":"Task","href":"/pages/activities/task/introduction"},{"title":"Task Columns","href":"/pages/activities/task/task-columns"},{"title":"Creating a Task","href":"/pages/activities/task/create-task"},{"title":"Creating Tasks in Bulk","href":"/pages/activities/task/bulk-create"},{"title":"Viewing and Editing a Task","href":"/pages/activities/task/view-and-edit-task"},{"title":"Doing a Task on the Web","href":"/pages/activities/task/do-task"},{"title":"Assigning Tasks","href":"/pages/activities/task/assign-task"},{"title":"Filtering and Searching Tasks","href":"/pages/activities/task/filter-and-search"},{"title":"Deleting a Task","href":"/pages/activities/task/delete-task"},{"title":"Subpage in a Task","href":"/pages/activities/task/subpage-in-task"},{"title":"Subflow in a Task","href":"/pages/activities/task/subflow-in-task"},{"title":"Gallery","href":"/pages/activities/task/gallery"}]},{"group":"Public Tracking","pages":[{"title":"Public Tracking","href":"/pages/activities/public-tracking/introduction"},{"title":"Sharing Public Tracking","href":"/pages/activities/public-tracking/sharing"},{"title":"The Tracking Page","href":"/pages/activities/public-tracking/tracking-page"}]},{"group":"Order","pages":[{"title":"Order","href":"/pages/activities/order/introduction"},{"title":"Creating an Order","href":"/pages/activities/order/creating-an-order"},{"title":"Order Detail","href":"/pages/activities/order/order-detail"},{"title":"Import and Export","href":"/pages/activities/order/import-and-export"}]}]},{"group":"Workflow","pages":[{"group":"Flow","pages":[{"title":"Introduction","href":"/pages/workflow/flow/introduction"},{"title":"Managing Flows","href":"/pages/workflow/flow/managing-flows"},{"title":"Templates","href":"/pages/workflow/flow/templates"},{"title":"Build with AI","href":"/pages/workflow/flow/build-with-ai"},{"title":"Flow Builder","href":"/pages/workflow/flow/builder"},{"title":"Pages","href":"/pages/workflow/flow/pages"},{"title":"Mobile App Preview","href":"/pages/workflow/flow/mobile-preview"},{"title":"Configuration","href":"/pages/workflow/flow/configuration"},{"title":"Version History","href":"/pages/workflow/flow/version-history"},{"group":"Components","pages":[{"title":"Components","href":"/pages/workflow/flow/components/introduction"},{"group":"Input","pages":[{"title":"Input","href":"/pages/workflow/flow/components/input/introduction"},{"title":"Text","href":"/pages/workflow/flow/components/input/text"},{"title":"Date","href":"/pages/workflow/flow/components/input/date"},{"title":"Date and Time","href":"/pages/workflow/flow/components/input/date-time"},{"title":"Time","href":"/pages/workflow/flow/components/input/time"},{"title":"Number","href":"/pages/workflow/flow/components/input/number"},{"title":"Address","href":"/pages/workflow/flow/components/input/address"},{"title":"Coordinate","href":"/pages/workflow/flow/components/input/coordinate"},{"title":"Phone Number","href":"/pages/workflow/flow/components/input/phone-number"},{"title":"Link","href":"/pages/workflow/flow/components/input/url"},{"title":"Currency","href":"/pages/workflow/flow/components/input/currency"}]},{"title":"Select","href":"/pages/workflow/flow/components/select"},{"title":"View","href":"/pages/workflow/flow/components/view"},{"title":"Photo","href":"/pages/workflow/flow/components/photo"},{"title":"Signature","href":"/pages/workflow/flow/components/signature"},{"title":"Video","href":"/pages/workflow/flow/components/video"},{"group":"Bill","pages":[{"title":"Bill","href":"/pages/workflow/flow/components/bill/introduction"},{"title":"Creating a Bill","href":"/pages/workflow/flow/components/bill/creating-a-bill"},{"title":"Advanced Discount","href":"/pages/workflow/flow/components/bill/advanced-discount"}]},{"group":"List","pages":[{"title":"List","href":"/pages/workflow/flow/components/list/introduction"},{"title":"Creating a List","href":"/pages/workflow/flow/components/list/creating-a-list"}]},{"title":"Subpage","href":"/pages/workflow/flow/components/subpage"},{"title":"Timer","href":"/pages/workflow/flow/components/timer"},{"title":"Voice","href":"/pages/workflow/flow/components/voice-note"},{"title":"Capture","href":"/pages/workflow/flow/components/capture"},{"title":"Subflow","href":"/pages/workflow/flow/components/subflow"}]}]},{"group":"Data Type","pages":[{"title":"Introduction","href":"/pages/workflow/data-type/introduction"},{"title":"Creating a data type","href":"/pages/workflow/data-type/creating-a-data-type"},{"title":"Field types","href":"/pages/workflow/data-type/field-types"},{"title":"Editing and deleting","href":"/pages/workflow/data-type/editing-and-deleting"}]},{"group":"Data Source","pages":[{"title":"Introduction","href":"/pages/workflow/data-source/introduction"},{"title":"Adding records","href":"/pages/workflow/data-source/adding-records"},{"title":"Bulk add and edit","href":"/pages/workflow/data-source/bulk-add-and-edit"},{"title":"Editing and deleting","href":"/pages/workflow/data-source/editing-and-deleting"},{"title":"Linked Records","href":"/pages/workflow/data-source/linked-records"},{"title":"Exporting Records","href":"/pages/workflow/data-source/export"}]},{"group":"Automation","pages":[{"title":"Introduction","href":"/pages/workflow/automation/introduction"},{"title":"Creating an automation","href":"/pages/workflow/automation/creating-an-automation"},{"title":"Rules","href":"/pages/workflow/automation/rules"},{"group":"Events","pages":[{"title":"On Task Created","href":"/pages/workflow/automation/events/on-task-created"},{"title":"On Task Assigned","href":"/pages/workflow/automation/events/on-task-assigned"},{"title":"On Task Finished","href":"/pages/workflow/automation/events/on-task-finished"},{"title":"On Start Trip","href":"/pages/workflow/automation/events/on-start-trip"},{"title":"On Finish Trip","href":"/pages/workflow/automation/events/on-finish-trip"},{"title":"On Geofence Entry","href":"/pages/workflow/automation/events/on-geofence-entry"},{"title":"On Geofence Leave","href":"/pages/workflow/automation/events/on-geofence-leave"},{"title":"On Routing Finished","href":"/pages/workflow/automation/events/on-routing-finished"},{"title":"On Routing Dispatched","href":"/pages/workflow/automation/events/on-routing-dispatched"},{"title":"On Data Source Created","href":"/pages/workflow/automation/events/on-data-source-created"},{"title":"On Alert Created","href":"/pages/workflow/automation/events/on-alert-created"},{"title":"On Alert Resolved","href":"/pages/workflow/automation/events/on-alert-resolved"}]},{"group":"Actions","pages":[{"title":"Create Task","href":"/pages/workflow/automation/actions/create-task"},{"title":"Create and Assign Task","href":"/pages/workflow/automation/actions/create-and-assign-task"},{"title":"Move Task","href":"/pages/workflow/automation/actions/move-task"},{"title":"Assign Task","href":"/pages/workflow/automation/actions/assign-task"},{"title":"Update Task","href":"/pages/workflow/automation/actions/update-task"},{"title":"Create or Update Data Source","href":"/pages/workflow/automation/actions/create-or-update-data-source"},{"title":"Webhook","href":"/pages/workflow/automation/actions/webhook"},{"title":"Notification","href":"/pages/workflow/automation/actions/notification"},{"title":"WhatsApp","href":"/pages/workflow/automation/actions/notification-whatsapp"},{"title":"SMS","href":"/pages/workflow/automation/actions/notification-sms"},{"title":"Email","href":"/pages/workflow/automation/actions/notification-email"}]},{"title":"Managing automations","href":"/pages/workflow/automation/managing"},{"title":"Automation log","href":"/pages/workflow/automation/log"}]},{"group":"Order Type","pages":[{"title":"Introduction","description":"What an order type is, how an order moves through its steps, and the Order Types list.","href":"/pages/workflow/order-type/introduction"},{"title":"Building an Order Type","href":"/pages/workflow/order-type/building-an-order-type"},{"title":"Getting Started Tutorial","description":"A one-minute demo that builds a Pickup → Approval → Delivery order type on the Steps canvas.","href":"/pages/workflow/order-type/getting-started-tutorial"},{"title":"Managing Order Types","href":"/pages/workflow/order-type/managing-order-types"}]},{"group":"Brief","pages":[{"title":"Introduction","href":"/pages/workflow/brief/introduction"},{"title":"Managing Briefs","href":"/pages/workflow/brief/managing-briefs"}]}]},{"group":"Export \u0026 Import","pages":[{"title":"Export","href":"/pages/export-import/export"},{"title":"Filters and Columns","href":"/pages/export-import/export-filters-and-columns"},{"title":"Column Sets","href":"/pages/export-import/column-sets"},{"title":"Import","href":"/pages/export-import/import"},{"title":"Checking and Uploading an Import","href":"/pages/export-import/import-mapping-and-preview"}]},{"group":"Settings","pages":[{"title":"Settings","href":"/pages/settings/introduction"},{"group":"Users \u0026 Access","pages":[{"group":"User","pages":[{"title":"User","href":"/pages/settings/user/introduction"},{"title":"Inviting Users","href":"/pages/settings/user/inviting-users"},{"title":"Managing Users","href":"/pages/settings/user/managing-users"}]},{"title":"Team","href":"/pages/settings/team"},{"group":"Permission","pages":[{"title":"Permission","href":"/pages/settings/permission/introduction"},{"title":"Managing Roles","href":"/pages/settings/permission/managing-roles"},{"title":"Permission Reference","href":"/pages/settings/permission/permission-reference"},{"title":"Restricted Fields","href":"/pages/settings/permission/restricted-fields"},{"title":"Access and Sign-in","href":"/pages/settings/permission/access-and-sign-in"}]}]},{"group":"Workspace","pages":[{"group":"Organization","pages":[{"title":"Organization","href":"/pages/settings/organization/introduction"},{"title":"Currency and Language","href":"/pages/settings/organization/currency-and-language"},{"title":"Password Policy","href":"/pages/settings/organization/password-policy"},{"title":"Deleting Your Organization","href":"/pages/settings/organization/deleting-your-organization"}]},{"title":"Hub","href":"/pages/settings/hub"}]},{"group":"Monitoring Settings","pages":[{"title":"Geofence","href":"/pages/settings/geofence"},{"title":"Alert Setting","href":"/pages/settings/alert-setting"}]},{"group":"Extensions","pages":[{"title":"Add-ons","href":"/pages/settings/add-ons"},{"group":"Integration","pages":[{"title":"Integration","href":"/pages/settings/integration/introduction"},{"title":"Microsoft Entra ID SSO","href":"/pages/settings/integration/entra-id-sso"},{"title":"SMS Gateway","href":"/pages/settings/integration/sms-gateway"},{"title":"Accurate","href":"/pages/settings/integration/accurate"}]},{"title":"Custom Module","href":"/pages/settings/custom-module"}]},{"title":"Trash","href":"/pages/settings/trash"}]},{"group":"Account","pages":[{"title":"Profile","href":"/pages/account/profile"},{"title":"Switching Organization","href":"/pages/account/switching-organization"},{"title":"Password and Sign-in Security","href":"/pages/account/password-and-security"},{"title":"Access Token","href":"/pages/account/access-token"}]},{"group":"Add-ons","pages":[{"title":"Add-ons","href":"/pages/add-ons/introduction"},{"group":"PDF Generator","pages":[{"title":"PDF Generator","href":"/pages/add-ons/pdf-generator/introduction"},{"title":"Setting Up PDF Generator","href":"/pages/add-ons/pdf-generator/setting-up"},{"title":"Designing Templates","href":"/pages/add-ons/pdf-generator/designing-templates"},{"title":"Using the Task List","href":"/pages/add-ons/pdf-generator/task-list"},{"title":"Printing and Exporting","href":"/pages/add-ons/pdf-generator/printing-and-exporting"}]},{"group":"Add-ons SDK","pages":[{"title":"Add-ons SDK","href":"/pages/add-ons/sdk/introduction"},{"title":"Build with Claude Code","href":"/pages/add-ons/sdk/build-with-claude-code"},{"title":"Getting Started","href":"/pages/add-ons/sdk/getting-started"},{"title":"Building an Add-on","href":"/pages/add-ons/sdk/building-an-add-on"},{"title":"Publishing an Add-on","href":"/pages/add-ons/sdk/publishing"}]}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference/introduction"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/pages/changelog"}]},{"tab":"Internal API","hidden":true,"pages":[{"title":"Internal API","href":"/api-reference-internal/introduction"}]}]},"basePath":"","title":"Building an Order Type - Docs","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":["a74be98ba7"],"chunks":["zoom-image-lightbox-DJOZ-2Ph.js","lightbox-handle-r17bVUz3.js"]}