- Close the previous task.
- Start new task. Select Plan Mode.
- Copy and paste the following prompt into the task input:
Apply business logic to action accept travel. Dates must be validated so that start dates are not in the past. use cap mcp - Press
Enterto execute the task. - Cline prepares an Implementation Plan.
- Once the implementation plan is ready, review it.
Note
The implementation plan generated by Cline may differ from the example shown below.
-
Switch to Act mode.
-
Cline executes the implementation plan.
-
When the task is complete. In the application preview, select travel record with travel status
open. click on actionAccept Travelto verify error message
Note
Error message text might differ from screenshot
-
Make sure Cds mcp server is connected. Close and retry task.
-
If clicking the
Accept Travelaction does not work. Enter promptRetry. Clicking on action button does not result in batch call. -
Hard reload Browser: Open Developer Tools (
F12), long press(2-3 sec) browser refresh button, select "Empty Cache and Hard Reload"
Continue to - Exercise 2.4 - Configure filter travel status as valuehelp and display it as dropdown

