Help please!! Stuck in Lab 4.2b
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-10-2023 04:22 AM
Hi guys,
I need help with the lab 4.2b in Developer Aplication Fundamentals. I have check 100 times my code but I can't find why is not working. The script pass to a string field the City and Country, but it does not work. Any help please?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2023 04:53 AM
@Epsylen Could you please update the following lines in your Set Scratchpad Values business rule and check if this change works for you. Also, make sure that Set Scratchpad Values is a display business rule.
g_scratchpad.city=current.requested_for.getDisplayValue(‘city’);
g_scratchpad.country=current.requested_for.getDisplayValue(‘country);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 02:35 AM
Thank Sandeep for you reply, but still not working.
I have filled the data for that user, but the field location still not showing City and Country.
about "make sure that Set Scratchpad Values is a display business rule", is the following pic what you mean.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2024 04:34 AM
Check the name of the Requested for field in the form design menu and see if the name matches with the name given in the scratchpad code in business rule