- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2024 03:22 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2024 07:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2024 03:23 AM
FYI Below is the used script include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2024 04:05 AM
Hi @pk2184046
Your script looks fine but consider some points that might affecting you:
You have a conditional check for a specific form's sys ID. If this condition evaluates to true, it executes the else block. Ensure that this condition is set correctly and that you are indeed working with the intended form.
You can print log the unique ID to confirm that the expected form is being evaluated.
Also you're using 'g_form.getReference(), make sure that any logic that relies on the results of these calls is executed within the callback. For example, if the 'gr1' or 'gr2' references return null, your subsequent logic might not execute as expected.
I would suggest use log in your script. This can help identify where the logic may not be behaving as expected.
I hope my answer helps you to resolve your issue, if yes please mark my answer helpful and correct.
thank you
Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2024 05:27 AM
Hi @pk2184046 ,
Instead of Synchronous Glide Ajax call, can you try Asynchronous Glide Ajax call?
Regards
Moin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2024 07:51 PM
By changing the script include now its working as expected