To configure decision tables for Hardware Asset Management flows, identify the prebuilt table for the feature, inspect its inputs and expected answers, and adjust the decision rules to reflect your process. Check application scope, input types, matching order, and fallback behavior, then test the resulting flow before releasing the change.
Choose the table that belongs to the HAM feature
Start with the operation you need to change, rather than creating a new table immediately. Hardware Asset Management includes decision tables for several lifecycle processes. Similar names can represent different parts of a process, so record both the feature and its table before editing.
- Hardware Asset Refresh uses Hardware Asset Refresh Line Flow.
- Lease Contract Expiration uses Lease Contract Expiration Flow.
- Leased Asset Buyout, Leased Asset Extension, and Leased Asset Return use Leased Asset Buyout Flow, Leased Asset Extension Flow, and Leased Asset Return Flow respectively.
- Loaner Asset Request uses Loaner Asset Request Flow.
- Source request from local stockroom uses Asset Local Order Subflow.
- Reclamation uses Asset Reclamation Flow.
- Hardware reclamation flow has Hardware Asset Reclamation Flow and Hardware Asset Reclamation Line Flow.
- RMA request uses Asset RMA Flow; RMA on-site repair and RMA off-site repair use Asset RMA On-site Flow and Asset RMA Off-site Flow.
- Contract renewal request uses Contract Renewal Flow, while contract renewal tasks use Contract Renewal Tasks Flow.
The Asset Local Order Subflow decision table is available with both Hardware Asset Management and Procurement plugins. Its presence alone does not establish which purchasing process your organization has implemented. Connect the proposed rule change to the actual request path. For background on inventory handling, use the guide to stockroom management and hardware receiving.
Define the change before editing decision rules
Write a short statement of the decision: given these inputs, return this answer. Separate that statement from the tasks the flow performs afterward. A decision table represents conditional logic; a successful table result still needs to be consumed correctly by its calling flow.
Build a change worksheet with the existing inputs, intended matching conditions, expected result, and a representative request. Treat this as a review aid, not as a replacement for the configuration. If a business owner cannot explain why two requests should receive different answers, resolve that uncertainty before adding another condition.
Check the relevant behavior on your instance and release; the configuration paths described here reflect Brazil. For creating tables in Workflow Studio, the required access is admin, decision_table_admin, or delegated developer permissions. The System Definition procedure for creating a decision table requires decision_table_admin. These requirements describe those specific creation actions, rather than granting blanket access to HAM operations.
Review Hardware Asset Management setup and configuration when the change depends on broader application preparation. Keep that work separate from the decision rule itself so that testing can distinguish a setup problem from a condition problem.
Inspect inputs, scope, and answer records
Before changing rows, inspect the table’s structure and the data its caller supplies. An input type governs which data pills can be used with that input. A reference input represents a record and can support multiple condition columns evaluating fields on that record. A condition aimed at the wrong field can look reasonable while answering a different question.
- Identify the application scope and which applications need to call the decision.
- List the input labels and types. Check which inputs are mandatory and whether the caller supplies values for them.
- For reference conditions, distinguish evaluating the reference record from evaluating a field on that record.
- Inspect the result type or answer table and identify what the calling flow expects to receive.
- Record a baseline case before changing the condition or result.
In the System Definition creation procedure, navigate to System Definition > Decision Tables and select New. First create or select the table that will hold the answer records, and set one of its fields as the display value. Then fill in the form, which includes Name, Application, Answer table, and Accessible From. After saving, the Decision Inputs and Decisions related lists provide the input and decision records. Use this route when creating a separate decision is justified; first establish whether the supplied HAM table already meets the need.
An answer record is associated with a decision and returned when its conditions are met. The answer table needs a field designated as its display value so that answer labels appear in Workflow Studio. A readable label helps reviewers, but the underlying answer must still be the record the flow expects.
Configure decision tables for Hardware Asset Management flows
For a new table in Workflow Studio, navigate to All > Process Automation > Workflow Studio, select New, then Decision table. Set Decision table name, Description, Application, and Accessible from. Enable draft authoring provides a way to prepare changes in draft mode and publish them for use. Select Build decision table to define the structure.
Use Add an input to define Label, Type, and Mandatory as needed. Choose inputs for the decision being made rather than adding data that no condition uses. Reference inputs allow multiple condition columns, and each condition can evaluate either the referenced record or one of its fields, so several checks on one record can sit side by side in the same table.
Select Add condition column and set Condition column label, Input, Data to evaluate where applicable, and Default operator. Then enter the operator and value for each condition cell. Keep the label specific enough that a reviewer can tell what is being evaluated without opening the field definition.
Select Add result column, define Result column label and Result type, and enter the result values. Use Add new decision row for additional rules. These are the building steps for a new table; when working with a supplied HAM table, inspect its existing structure and retain the input and result contract required by its caller.
For help planning this work, see ServiceNow implementation.
Review matching order and fallback decisions
Overlapping conditions deserve explicit review. In the Decisions related list procedure, Order controls evaluation order. Where a flow uses First decision that matches, evaluation ends when a match is found. A broad condition evaluated early can therefore prevent a more specific decision from being reached.
Review Default Answer separately from normal matching rules. The checkbox designates a decision as the table’s default. Decide what the business expects when a supplied request does not meet the intended conditions, and test that situation. Avoid assuming that an unmatched request should receive the same answer as a routine request.
For example, prepare a test where a specific rule and a broader rule could both apply. Write down the expected answer before execution. This is a proposed test pattern, not a claim that a particular HAM table ships with those rules. Repeat the exercise with missing or unexpected input values that the caller can realistically provide.
Keep process boundaries visible. The separate refresh, lease, reclamation, and RMA tables should prompt a review of where the request is in its hardware asset lifecycle. A correct decision at the wrong process stage can still produce the wrong operational outcome.
Test the answer and the flow outcome separately
Use a nonproduction environment to check changed rules with representative records. First compare the returned answer with your worksheet. Then follow the calling flow far enough to establish that it uses the answer as intended. Record input values, the expected decision, the actual answer, and the resulting process behavior.
Include a normal match, overlapping conditions, a fallback case, and a case that should retain its previous behavior. This gives the reviewer evidence that the requested change works without relying on one successful demonstration. Where a reference result is involved, verify the selected record as well as its displayed label.
In the Workflow Studio creation sequence, select Save and then Publish; a confirmation modal requires Publish again. Editing a published table afterward requires creating a draft. Coordinate the table’s publication with the process change so that review includes the version intended for use.
If the answer is unexpected, trace the supplied input, condition field, operator, order, and result before changing unrelated configuration. If the answer is correct but the process fails later, investigate how the caller uses it. The Hardware Asset Management troubleshooting guide supports that wider investigation.
Questions about decision-table design choices
Can one condition require logic that does not fit neatly into columns?
Decision rule view supports more complex conditions. From the Decision rule row menu options icon, select Open in Decision rule view. Prefer several simpler rows where they express the same rule clearly; complex conditions increase the review effort.
What happens to advanced rows when editing in Excel?
Tables containing advanced rows can be edited in Excel, but those advanced rows are read-only. Plan maintenance around the editing method your administrators will actually use.
Why might an existing choice list be unavailable?
For a Choice input, selecting an existing choice list depends on the choice list’s table sharing the decision table’s application scope. Check scope before rebuilding the choices by hand.
Should a decision table accept a large number of inputs?
Adding more than 30 inputs can adversely affect application performance while creating the table. Review whether the proposed decision can be expressed with fewer inputs before expanding its structure.