- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2025 07:32 AM - edited 05-11-2025 07:36 AM
I have a requirement to submit a catalog item using inbound email flow when any user sent an email to abc@xyz.com
but the cat item with a "lookup select box" variable is grayed out (read-only) from the flow action Submit Catalog Item Request as it is referencing other table where choice list values are present.
Data pill is greyed out.
Is there any other way to select the choices referencing to other table in a flow ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2025 10:16 AM
Hello @shaik riyaz1 ,
Since it is not supported in Flow Designer, you could submit the request using a traditional Inbound Email Action. The script for submitting the request and populating the variables would need to look like this:
var cart = new sn_sc.CartJS();
var CATALOG_ITEM_SYS_ID = '0d08837237153000158bbfc8bcbe5d02'; // update this
var request =
{
'sysparm_id': CATALOG_ITEM_SYS_ID,
'sysparm_quantity': '1',
'variables':{ // update as needed
'carrier': 'at_and_t_mobility',
'data_plan': '500MB',
'duration': 'eighteen_months',
'color': 'slate',
'storage': 'sixtyfour'
}
}
var cartDetails = cart.orderNow(request);
gs.info(JSON.stringify(cartDetails));
Result:
{
"sys_id":"7edcd988c3252e5006b1b1fdd401318d",
"number":"REQ0010021",
"request_number":"REQ0010021",
"parent_id":null,
"request_id":"7edcd988c3252e5006b1b1fdd401318d",
"parent_table":"task",
"table":"sc_request"
}
Regards,
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2025 07:36 AM
Hi @shaik riyaz1 ,
Please share the screen shot of that page and highlight the issue.
-Thanks,
AshishKM
Please mark this response as correct and helpful if it helps you can mark more that one reply as accepted solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2025 07:58 AM - edited 05-11-2025 08:00 AM
It's the expected behaviour. The variable "lookup select box" is not supported. PFB article.
https://noderegister.service-now.com/kb?id=kb_article_view&sysparm_article=KB0962980
As a work around try reference type variable.
Regards,
Siva
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2025 08:31 AM
yes it's not available, Lookup select box and some other list collector variable are not supported in "Submit Catalog Item Request" flow action and it's known limitation.
As a workaround you can update it after creation of RITM
check this link on recent solution I shared on how to do that, enhance for your requirement
How to attach new created contract record number in RITM Variable
sharing here as well
sc_item_option_mtom table stores all the variable associated with RITM, you can use lookup action in flow designer and can update the variables value in "sc_item_option"
Something like this
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2025 10:16 AM
Hello @shaik riyaz1 ,
Since it is not supported in Flow Designer, you could submit the request using a traditional Inbound Email Action. The script for submitting the request and populating the variables would need to look like this:
var cart = new sn_sc.CartJS();
var CATALOG_ITEM_SYS_ID = '0d08837237153000158bbfc8bcbe5d02'; // update this
var request =
{
'sysparm_id': CATALOG_ITEM_SYS_ID,
'sysparm_quantity': '1',
'variables':{ // update as needed
'carrier': 'at_and_t_mobility',
'data_plan': '500MB',
'duration': 'eighteen_months',
'color': 'slate',
'storage': 'sixtyfour'
}
}
var cartDetails = cart.orderNow(request);
gs.info(JSON.stringify(cartDetails));
Result:
{
"sys_id":"7edcd988c3252e5006b1b1fdd401318d",
"number":"REQ0010021",
"request_number":"REQ0010021",
"parent_id":null,
"request_id":"7edcd988c3252e5006b1b1fdd401318d",
"parent_table":"task",
"table":"sc_request"
}
Regards,
Robert