We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

how to get the model name catalog item from to the short description for SCtask ?

chercm
Mega Sage

i have created a catalog item form and attached the flow designer to create SCtask ticket but i cannot the model name to be populated on the short description field 

 

what  should i select ?

 

Screenshot 2023-10-06 at 6.07.53 PM.png

Screenshot 2023-10-06 at 6.08.26 PM.png

1 ACCEPTED SOLUTION

Hi @chercm 

 

There is also a another way :

 

Step 1 : Create flow variable 

 

VishalBirajdar_0-1696589377334.png

 

VishalBirajdar_1-1696589419977.png

 

It will look like this in data picker

VishalBirajdar_3-1696589544682.png

 

 

Step 2 : Create flow logic "Set flow variables"

 

VishalBirajdar_2-1696589488084.png

 

Use Toggle script to set the value (Highlighted in blue)

In script  write below code 

 

var model = fd_data.trigger.request_item.variables.<your_variable_name>;
return model;

 

VishalBirajdar_5-1696589659716.png

 

Step 3 : Drag & drop the flow variable in Short description of Catalog task 

 

VishalBirajdar_6-1696589806758.png

 

 

Note : for demo I have used "RITM" table.

 

 

 

 

 

 

 

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

View solution in original post

16 REPLIES 16

@VishalB06557037 it does not seems to have a field that i can flow in the user name , seems that from the flow designer does not have the selection for requested for 

Hi @chercm 

 

Click on requested item highlighted below

 

VishalBirajdar_1-1696597531711.png

 

Scroll down to Requested for & again scroll down & you will get the that field , then drag and drop it in short description.

 

VishalBirajdar_2-1696597578017.png

 

 

Hope this helps..!!

 

 

 

Vishal Birajdar
ServiceNow Developer

I know one thing, and that is that I know nothing.
- Socrates

@VishalB06557037 i am referring to the resultant catalog field not into the short description 

 

chercm_0-1696598168680.png

Screenshot 2023-10-06 at 11.26.12 AM.png

 

in the flow designer to create the catalog task ticket , there is an option to make use of the template catalog item . when i click on it , it is showing me as hide add to cart . why is this so ?

 

chercm_0-1696590455322.png

 

chercm
Mega Sage

it worked finally 

 

chercm_0-1696592250175.png

chercm_1-1696592267584.png

chercm_2-1696592312584.png