Request Management architecture
Summarize
Summary of Request Management Architecture
Request Management enables the request and fulfillment of catalog items through defined workflows. The process starts with the Service Catalog, which triggers when a catalog item from the Catalog Item table is requested. Variables are only associated with the Requested Item table and are not supported for extended tables.
Show less
Key Features
- Request Management Hierarchy: Records are generated in a specific order when a catalog item is requested.
- Data Model Restrictions: Avoid using record producers for generating Request Management objects, including Request, Request Item, and Catalog Task. Additionally, do not create business rules with before triggers for the Request, Request Item, Cart, or Cart Item tables.
- Checkout Processes:
- Direct Ordering: A temporary cart is created, and records are generated in the Request and Request Item tables before database commitment.
- Cart Submission: Similar steps are followed when items are submitted from the cart, repeated for each catalog item added.
- Order Guide Checkouts: Different carts are utilized based on the number of steps in the order guide during the checkout process, while following the same fundamental steps.
Key Outcomes
By understanding the Request Management architecture, ServiceNow customers can effectively manage catalog item requests and ensure proper record generation within the system. This knowledge helps in optimizing the request process and maintaining data integrity when using the ServiceNow platform.
Request Management allows catalog items to be requested and fulfilled based on defined flows.
Request Management hierarchy
Service Catalog is the starting point of the request management process. The request management process is triggered only when a catalog item from the Catalog Item [sc_cat_item] table is requested.
When a user submits a request for a catalog item, records are generated in the following hierarchy.
- The data model does not support a record producer generating request management objects
such as request, request item, and catalog task. Hence, do not use a record producer to
insert records in the following request management tables or their extensions:
- Request [sc_request]
- Request Item [sc_req_item]
- Catalog Task [sc_task]
- Do not write business rules with the
beforetrigger for the following tables:- Request [sc_request]
- Request Item [sc_req_item]
- Cart [sc_cart]
- Cart Item [sc_cart_item]
Request management process
- Catalog item is ordered directly without adding it to the cart
- When a catalog item is ordered or requested directly without adding it to the cart, the
following steps are performed:
- A temporary cart, sc_cart, is created.
- The catalog item along with the variables (values entered by the user) is added to the temporary cart as a record in the Cart Item [sc_cart_item] table.
- The variables are saved in the Options [sc_item_option] and Variable Ownership [sc_item_option_mtom] tables.
- The temporary cart is checked out by performing these steps.
- A record in the Request [sc_request] table is initialized but not committed in the database.
- A record in Request Item [sc_req_item] table is initialized but not committed in the database.
- The request reference for the Request Item [sc_req_item] table record is updated with the Request [sc_request] table record.
- The variables record in the Options [sc_item_option] and Variable Ownership [sc_item_option_mtom] tables are updated based on the Request Item [sc_req_item] table record.
- The Request Item [sc_req_item] table record is committed in the database.
- The Request [sc_request] table record is committed in the database.
- Request is submitted after adding the item to the cart
- If a catalog item is added to the cart and the request is submitted using the checkout
process, the default cart is checked out.
All steps mentioned in the preceding scenario, Catalog item is ordered directly without adding it to the cart, are applicable. However, if multiple catalog items are added to the cart, step b to step e are repeated for each item.
- Request is submitted using an order guide
- For a two-step order guide checkout, the temporary cart is used for all items. For a
three-step order guide checkout, the default cart is used for the items.
All steps mentioned in the preceding scenario, Catalog item is ordered directly without adding it to the cart, are applicable.