Carpenter
Tera Contributor

Hi Johannes,



Is your "asset_name" variable a reference variable?



If so, you need to replace:


items.variables.asset_name = 'No Asset';


with:


items.variables.asset_name.setDisplayValue('No Asset');


(assuming you have a record with that name).