Exam InsuranceSuite-Developer Topic 1 Question 87 Discussion
Actual exam question for Guidewire's InsuranceSuite-Developer exam
Question #: 87
Topic #: 1
Question #: 87
Topic #: 1
Which statements describe best practices when using bundles in Gosu to save new entities/edit existing entities? (Select Two)
Suggested Answer: B,F Vote an answer
Managing transactions in Guidewire requires a deep understanding ofBundles. The modern and safest way to handle a transaction is using the runWithNewBundle(\ bundle -> { ... }) block (Option B).
When using runWithNewBundle, the Guidewire platform automatically handles the "Plumbing" of the transaction. It opens the bundle, provides a safe execution context, andautomatically commitsthe changes when the block reaches the end. Therefore, a critical best practice is tonever call commit() manuallyinside that block (Option F). Doing so can interfere with the platform's error-handling and post-commit logic. Option E is used for UI-bound bundles (like those in a PCF), but for background logic or integration, a fresh, managed bundle via runWithNewBundle is the gold standard for avoiding data leakage or accidental modifications.
When using runWithNewBundle, the Guidewire platform automatically handles the "Plumbing" of the transaction. It opens the bundle, provides a safe execution context, andautomatically commitsthe changes when the block reaches the end. Therefore, a critical best practice is tonever call commit() manuallyinside that block (Option F). Doing so can interfere with the platform's error-handling and post-commit logic. Option E is used for UI-bound bundles (like those in a PCF), but for background logic or integration, a fresh, managed bundle via runWithNewBundle is the gold standard for avoiding data leakage or accidental modifications.
by Marlon at Jun 26, 2026, 12:01 AM
0
0
0
10
Comments
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Report Comment
Commenting
You can sign-up / login (it's free).