I don't know the catalog_item_id of my topic block

jiajusong
Tera Contributor

Now I have got two topic blocks Request catalog item and Request catalog item2.  They are all the same. However the question is, when I use the first topic blocks, I know the catalog_item_id of my topic block. So the Virtual agent done well in testing. But I don't know the catalog_item_id of my second topic block, how can I get this string?

Please let me know if you have some suggestions.

 

1 ACCEPTED SOLUTION

You need to know what the user is requesting before running the request catalog item. 

Lynda1_0-1739982602564.png

Then use the name of the input component,  Search_term is the example above to pass to the topic block.

View solution in original post

4 REPLIES 4

jiajusong
Tera Contributor

notitle 1 (1).pngnotitle 1 (2).png

You need to know what the user is requesting before running the request catalog item. 

Lynda1_0-1739982602564.png

Then use the name of the input component,  Search_term is the example above to pass to the topic block.

Akansha Gupta
Mega Sage

hi @jiajusong - 'catalog_item_id' refers to sys_id of the catalog item that should be requested.

I think you can use the same sys id in both the topic blocks.

Reference - https://www.servicenow.com/docs/bundle/washingtondc-servicenow-platform/page/product/service-catalog...

AkanshaGupta_0-1739960712900.png

 

  

Note - Please mark my answer as correct, if it helps in answering your query.

 

Thanks

Akansha Gupta

Thank you for your reply. However Create incident2 is created by me by duplication from Create incident. I tried this way and it doesn't work.