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

How to Access Catalog Task Variables

sharvil Sheth1
Kilo Guru

I have some variables which are not accessible while submitting request, but accessible on sc task e.g.: contract number, serial number, lease end date.
Contract number is reference variable referencing to ast_contract table.

I want to pass this catalog task variables to the create record action to alm_asset table.

Contract Number = sc_task_contract_number.

Serial Number = sc_task_serial_number.

 

I tried using "Get Catalog Variables" but not working

1 ACCEPTED SOLUTION

sharvil Sheth1
Kilo Guru

Ya Got this,

 

1) We need to use "Wait for Duration" with 5-10 seconds.

2) We need to use "Get Catalog Variable" again and then pass it in flow.

View solution in original post

7 REPLIES 7

@sharvil Sheth1 

share the subflow screenshots, how did you configure, how are you invoking it and what you are sending to subflow?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Dhana3
Kilo Sage

@sharvil Sheth1 

 Can you please explain the complete flow of your catalog item? This will help me understand your requirment correctly.

sharvil Sheth1
Kilo Guru

Ya Got this,

 

1) We need to use "Wait for Duration" with 5-10 seconds.

2) We need to use "Get Catalog Variable" again and then pass it in flow.