i am not able to create consumable asset from flow

chercm
Mega Sage

i am trying to create a consumable asset in the alm_consumable asset table but it is not populating correctly . as on the catalog item form , i have set a drop down list for the stock room and the catalog as reference . 

 

image.pngimage.pngimage.pngimage.pngimage.png

 

1 ACCEPTED SOLUTION

@Ankur Bawiskar  i found my answer which i was going in the wrong direction 

 

i used this table with reference and it worked : cmdb_consumable_product_model 

 

image.png

View solution in original post

14 REPLIES 14

Ankur Bawiskar
Tera Patron
Tera Patron

@chercm 

stockroom is a reference field to alm_stockroom table

Is your variable also referring to same table?

If yes then it will work, If not then it won't work

If my response helped please mark it correct and close the thread so that it benefits future readers.

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

@Ankur Bawiskar  i am using alm_stockroom. It does not populate the asset information at all 

image.png

 

 

@Ankur Bawiskar i tried to retrieve the variable as it is from a drop down list : 

var result = fd_data.trigger.request_item.variables.variable_name;
return result; 
 
but still not working 

@chercm 

set the Lookup value field = SysId

Then try

If my response helped please mark it correct and close the thread so that it benefits future readers.

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