- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2024 10:25 PM
Hi Experts,
I have the following Scripted REST API.
As the log showed, it could get 3 different Case Records.
But when I do test from API explorer and post man, it displayed one record.
Is there anything wrong with coding? how to fix that?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2024 10:56 PM
Hi there,
I think there is bug in your JS coding. To fix it, please replace "number: rec.number" with "number: rec.getValue('number')"
Please mark my comment helpful if the issue is resolved.
Thank you and have a nice day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2024 11:07 PM
Hi,
Thank you for your confirmation. If it worked for you, can you please mark my comments is solution or helpful?
About the document, I think it is still good. Because you can use [[number: rec.number + '']] also to convert it to string type. Hope it is clear for you.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2024 10:56 PM
Hi there,
I think there is bug in your JS coding. To fix it, please replace "number: rec.number" with "number: rec.getValue('number')"
Please mark my comment helpful if the issue is resolved.
Thank you and have a nice day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2024 11:00 PM
Hi Long,
Thank you for your reply. It worked for me.
Thank you.
I think the following doc should be updated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2024 11:07 PM
Hi,
Thank you for your confirmation. If it worked for you, can you please mark my comments is solution or helpful?
About the document, I think it is still good. Because you can use [[number: rec.number + '']] also to convert it to string type. Hope it is clear for you.
Thanks