The CreatorCon Call for Content is officially open! Get started here.

Accessing Catalog item variable in Notification message

kailashthiyagar
Kilo Guru

I m using "Notifications" in my catalog item workflow. I m trying to add the variable which i selected in my catalog item like the below one but it doesnt work...

${request.variables.select_the_macro}

Also how to add link to an external catalog item from the notification message....

11 REPLIES 11

Not the catalog item that was created... Provide a link to another catalog item so that they can order that item...



its just like adding html anchor link but wondering is that way or can we do it in another format....


randrews



Any help on this?


Hi Kailash,



Yes. You can put a link for a catalog item.



https://your-instance.service-now.com/nav_to.do?uri=/com.glideapp.servicecatalog_cat_item_view.do%3F...



3D01781332e0d9e900089f66e5c0179153 is the sys id of the catalog.



Please mark this response as correct or helpful if it assisted you with your question.

sanjivmeher



How could i make it dynamic?like, if i click the link for an email from dev instance, it should take me to dev request page, and test request page... so ..



on...



Usually within a catalog item description, if we are referring to another catalog item, what we do is, we jus add this link "itss/catalog_item.do?v=1&uri=com.glideapp.servicecatalog_cat_item_view.do%3Fv%3D1%26sysparm_id%3Df4e3fef513d3b640cecdb5104244b0b1%26sysparm_link_parent%3Dabc4baf913d3b640cecdb5104244b040%26sysparm_catalog%3De0d08b13c3330100c8b837659bba8fb4&sysparm_document_key=sc_cat_item,f4e3fef513d3b640cecdb5104244b0b1"




Of course, param id, sysid will change.. based on which instance(dev/test/prd), it is clicked, it will take them to the respective pages.. but here the link is going to be in email.. right.. so how does it work?


A better format is



https://your-instance.service-now.com/nav_to.do?uri=com.glideapp.servicecatalog_cat_item_guide_view....



Please mark this response as correct or helpful if it assisted you with your question.