Setting a default value in a variable

johndarroch
Tera Contributor

I am very new to scripting and need some help on the following

I am creating a Catalog item which has a variable name called Application which is a reference field to the Application table . I want the field owned by for that application on the application table to populate the variable Owned By on the catalog item.

Its probably easy for all you awesome developers so any help would be very much appreciated .

Thanks JD

10 REPLIES 10

Hi John,



You variable owner should be a reference variable pointing to the user record.



Please mark this response as correct or helpful if it assisted you with your question.

You rock thank you !!



Happy Holidays


Hey John,



You might have to change your 'Owner' variable to a reference type, pointing to sys_user table.


amlesh
Kilo Sage

Hi John,



If my response resolved your issue, would you Please mark the answer as correct.


Do I click Helpful = Yes



Also another quick question if I wanted to set another variable would I just add it to the end or create another script ?



Thanks