Skip to content

Bugfix: Fixed NullPointerException on Flow Logging Actions - #1021

Merged
jongpie merged 4 commits into
mainfrom
bugfix/flow-builder-removed-per-input-include-toggles
Aug 25, 2026
Merged

Bugfix: Fixed NullPointerException on Flow Logging Actions#1021
jongpie merged 4 commits into
mainfrom
bugfix/flow-builder-removed-per-input-include-toggles

Conversation

@jongpie

@jongpie jongpie commented Aug 24, 2026

Copy link
Copy Markdown
Owner

Fixed #997 NullPointerException that occurs when Flow passes a null value for the optional inputs Save Log and Throw FlowException for Fault Error Message, which happens now that Salesforce has removed the per-input include toggles from the Flow Builder action panel 😐

tl;dr - Salesforce broke stuff (╯‵□′)╯︵┻━┻

…ger shows the per-parameter include toggles

There is recent-ish change in Salesforce Flow Builder that removed the per-input "include this parameter?" toggles, which now causes Flow to always send every optional input. Boolean inputs now come across as null, instead of using the default values assigned in the Flow classes. The Flow actions have been updated to expect & handle null for Boolean values.
@jongpie jongpie added Type: Bug Something isn't working Logging Source: Flow Items related to using Nebula Logger within Flow Layer: Logger Engine Items related to the core logging engine Salesforce limitation Salesforce issue labels Aug 24, 2026
@jongpie
jongpie temporarily deployed to Advanced Scratch Org August 24, 2026 18:56 — with GitHub Actions Inactive
@jongpie
jongpie temporarily deployed to Experience Cloud Scratch Org August 24, 2026 18:56 — with GitHub Actions Inactive
@jongpie
jongpie temporarily deployed to OmniStudio Scratch Org August 24, 2026 18:56 — with GitHub Actions Inactive
@jongpie
jongpie temporarily deployed to Base Scratch Org August 24, 2026 18:56 — with GitHub Actions Inactive
@jongpie
jongpie temporarily deployed to Platform Cache Scratch Org August 24, 2026 18:56 — with GitHub Actions Inactive
@jongpie
jongpie temporarily deployed to Event Monitoring Scratch Org August 24, 2026 18:56 — with GitHub Actions Inactive
@codecov

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.19%. Comparing base (fd3ad9b) to head (5505a4c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1021      +/-   ##
==========================================
- Coverage   94.19%   94.19%   -0.01%     
==========================================
  Files          58       58              
  Lines        6517     6511       -6     
  Branches      204      204              
==========================================
- Hits         6139     6133       -6     
  Misses        376      376              
  Partials        2        2              
Flag Coverage Δ
Apex 93.64% <100.00%> (-0.01%) ⬇️
LWC 96.29% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jongpie
jongpie temporarily deployed to Base Scratch Org August 24, 2026 19:19 — with GitHub Actions Inactive
@jongpie
jongpie temporarily deployed to Base Scratch Org August 24, 2026 19:37 — with GitHub Actions Inactive
@jongpie
jongpie merged commit b792ac8 into main Aug 25, 2026
1 check passed
@jongpie
jongpie deleted the bugfix/flow-builder-removed-per-input-include-toggles branch August 25, 2026 15:38
@jongpie

jongpie commented Aug 25, 2026

Copy link
Copy Markdown
Owner Author

This has been released in release v4.19.5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Layer: Logger Engine Items related to the core logging engine Logging Source: Flow Items related to using Nebula Logger within Flow Salesforce issue Salesforce limitation Type: Bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default Flow InputParameter leads to System.NullPointerException

2 participants