Need help with lab 4.2b of the ADF course

toddthigpen
Giga Contributor

For the Application Development Fundamentals On Demand Course, I created the "Set Scratchpad Values" business rule as shown below in the course documentation for the Module 4 lab 4.2b on Scripting, but the rule isn't working properly.

 

toddthigpen_0-1755631091615.png

 

 

I added the following code to troubleshoot and received the error shown below.

 

toddthigpen_1-1755631091619.png

 

 

toddthigpen_2-1755631091621.png

 

 

I tried to debug by setting a breakpoint at line 4 and executing using the Loaner Request record shown above.  The Script Debugger first indicated the "requested for" for the Current1 Local instance wasn't found but then showed as follows.

 

toddthigpen_3-1755631091622.png

 

 

Can someone advise why this is and how to resolve?

 

Could this issue be due to timing?

 

Thank you.

2 ACCEPTED SOLUTIONS

Bhuvan
Kilo Patron

@toddthigpen 

 

Did you get a chance to review this ?

 

If this helped to answer your query, please accept the solution and close the thread.

 

Thanks,

Bhuvan

View solution in original post

Hmmmm that's really strange... @toddthigpen can you please verify it is in the desired scope, if it wasn't required to perform it with an impersonated user and alternatively, try to delete the business rule and re-create it again from scratch?

 

The labs sometimes get stuck in point of no return and it might be easier to step back and start again... just the last step, not completely from the beginning.. 

———
/* If my response wasn’t a total disaster ↙️ drop a Kudos or Accept as Solution ↘️ Cheers! */


View solution in original post

10 REPLIES 10

@toddthigpen 

 

Glad it worked !

 

Thanks,

Bhuvan