g_form.setValue() and g_form.clearValue() not working on HR Agent workspace
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2023 08:04 PM
I have created a client script for the filed clearing requirement, Its working fine in ITIL view but not working on Agent Workspace.
Tried with these api's g_form.setValue() and g_form.clearValue() .
Also tried for timeout function as well.
Any solution?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2023 06:35 AM
Have you added an alert to confirm the script is running in this view? The UI type needs to be set to All, and there can't be anything in the script that doesn't work with the Workspace architecture. Post your entire script using the insert code icon </> if you're still stuck.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-25-2023 06:47 AM
Hey Brad,
Thanks for your response, I have figured it out.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 05:01 AM
Thanks what was the fix?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2025 04:00 AM
Hi there,
I am having the same issue, what is the solution?