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  i change to sys_id same result 

 

image.png

image.png

 

 

@Ankur Bawiskar  i tried to use this : var result =return fd_data.trigger.request_item.variables.<variable name>.getDisplayValue();

return result; 

 

still does not work 

@chercm 

any before insert business rule which is clearing that field?

Did you try making that variable as reference instead of lookup select box?

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

@Ankur Bawiskar  i am getting duplicate when change to reference box : 

image.png

 

@chercm 

that's a data issue which you need to identify why 2 records have same name

Did you select any stockroom and submit and see if the field got updated?

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