From where Consume Asset Task, TO and PO Tasks creates when I select an option on the Source Request
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
56m ago
Hi everyone,
I'm trying to understand the technical flow behind sourcing in Hardware Asset Management, and I can't find where each option is triggered (business rule, script include, UI page, flow or subflow).
Catalog item: a hardware item ordered from Service Portal, with the Standard Hardware Asset Request flow attached.
What I understand so far:
- The Standard Hardware Asset Request flow does not create the sourcing tasks. It waits for "Sourced is true" (step 2) and "Received is true" (step 3), then stages assets, creates the Asset pick task if needed, and creates the Deploy task.
- After approval, the Source Request flow creates the Source Request catalog task (the "Can request be sourced" business rule sets Sourceable on the request).
- On the Source Request task I click Source Request and see three options: Consume, Transfer and Purchase.
What I see for each option:
1. Consume: an Asset Task (Consume Asset Task) is created, the asset is reserved, and closing it leads to the Deploy task. I found the "Asset Local Order" subflow, but I can't find the decision table the docs mention or the script include that calls it.
2. Transfer: a Transfer Order and Transfer Order Line are created, then 5 line tasks (Requested, Shipment Preparation, In Transit, Received, Delivered). I can see three flows: Transfer Order, Transfer Order Line and Transfer Order Line SMCore, but I can't see what creates the transfer order and line in the first place, or their trigger conditions.
3. Purchase: I haven't tested it yet, and I don't know what gets created.
My questions:
1. After clicking Submit on the Source Request page, which component creates (a) the Consume Asset Task, (b) the transfer order and transfer order line, and (c) the purchase order? Is it a UI page script, a script include, a business rule, or a flow/subflow?
2. What is the name of the script include that triggers the Asset Local Order subflow, and which decision table does it use? I can't find a decision table with that name.
3. What are the trigger conditions for Transfer Order, Transfer Order Line and Transfer Order Line SMCore? Which one runs on an instance where both line flows are active?
4. What sets Sourced and Received on the requested item for each of the three options?
5. Is there any documentation or diagram of the complete chain from the Source Request task to the Deploy task?