Set requested item price based on a selected item from a list collector

jesusemelendezm
Mega Guru

Hi everyone,

I have a list collector containing a list of items. These are items from a CMDB extended table, the table has a price field and each item has been updated with a price. Based on the selection from the variable list collector (User can select 1 item) I want to set the price of the requested item, that way I can compute it from the workflow or other application on the platform. Any hint will be greatly appreciated.

Thanks

1 ACCEPTED SOLUTION

On the Variable form, pull out 'Price implications' field on the form. Set it to true and it should work



find_real_file.png


View solution in original post

6 REPLIES 6

Keith Mills
Giga Guru

This is already designed when using the list collector.   It was working in Eureka, but I have not tried in a fuji release.   Is the field "price", or "u_price"?



Service Catalog Variable Pricing - ServiceNow Wiki


It is a custom table, u_price.


I read the wiki article, I have the custom table with 2 fields name and u_price. When selecting an item from the list collector and hitting the button order, It is still not calculating setting up the price on the requested item.


I just tested it in my sandbox, this is what I am doing...



1) open table cmdb_ci_computer.


2) create a field price type "u_price".


3) look up for a computer ci and add a value to the field u_price (e.g. 5000 $)


4) create a catalog item with a list collector referenced to the cmdb_ci_computer


5) run the catalog item selecting the item I have changed the price on u_price field and order...


6) Price on requested item record still empty.



Can anyone share some hints on how to make this happen?



Thx.