-
Couldn't load subscription status.
- Fork 5.5k
Salesforce: Make fieldsToUpdate optional in Update Record action #18890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Salesforce: Make fieldsToUpdate optional in Update Record action #18890
Conversation
Update the Salesforce Update Record action to make the fieldsToUpdate prop optional, allowing users to utilize the additionalFields prop immediately after selecting the SObject Type without needing to manually select fields first. Changes: - Made fieldsToUpdate prop optional in update-record.mjs - Updated additionalProps() to handle empty fieldsToUpdate gracefully - additionalFields now appears immediately after SObject Type selection This change maintains backward compatibility with existing workflows that use manual field selection while providing a more flexible workflow for users who prefer to specify all fields via additionalFields.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
Thank you so much for submitting this! We've added it to our backlog to review, and our team has been notified. |
|
Thanks for submitting this PR! When we review PRs, we follow the Pipedream component guidelines. If you're not familiar, here's a quick checklist:
|
WalkthroughThe update-record action's Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🧰 Additional context used🧬 Code graph analysis (1)components/salesforce_rest_api/actions/update-record/update-record.mjs (1)
🔇 Additional comments (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Update the Salesforce Update Record action to make the fieldsToUpdate prop optional, allowing users to utilize the additionalFields prop immediately after selecting the SObject Type without needing to manually select fields first.
Changes:
This change maintains backward compatibility with existing workflows that use manual field selection while providing a more flexible workflow for users who prefer to specify all fields via additionalFields.
Behavior
Before:
fieldsToUpdatebeforeadditionalFieldswould appearadditionalFieldswithout manual field selectionAfter:
additionalFieldsappears immediately after selecting SObject Type and Record IDadditionalFields(new capability)Testing
additionalFieldsto update recordsfieldsToUpdateselection (backward compatibility)fieldsToUpdateandadditionalFieldstogetherRelated Issue
Fixes the issue where users could not use
additionalFieldswithout first selecting manual fields in the Salesforce Update Record action.Summary by CodeRabbit
Release Notes