- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2018 05:03 AM
Hi,
I am trying to set glide list field value. I am trying with this below script. please help me.
We have two types of group. Request and approval. If group type is approval i want set to one default value for that.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2018 05:15 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2018 05:11 AM
Hi Raghu,
I assume you are not getting the value in type field.
Is this the issue or correct me if I have misconcluded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2018 05:14 AM
Hi Naveen,
Yes. "Type" field is list collector. I want to set its value to approval if user selected group type as approval.
Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2018 05:23 AM
Hi Raghu,
After you assign the type field a value in the if condition.
Add grp.update(); and let us know if it works.
Or else cut and paste the "var sys_id = grp.insert();" statement after the if condition block.
Just above "var user = ........" line.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2018 05:15 AM