Setting a default value in a variable
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2017 01:31 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2017 03:56 PM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2017 07:09 PM
You rock thank you !!
Happy Holidays
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2017 05:57 PM
Hey John,
You might have to change your 'Owner' variable to a reference type, pointing to sys_user table.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2017 07:13 PM
Hi John,
If my response resolved your issue, would you Please mark the answer as correct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-22-2017 10:57 AM
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