feat(W-23687514): add --skip-assignment-rules to data create/update record - #1492
Open
k80bowman wants to merge 6 commits into
Open
feat(W-23687514): add --skip-assignment-rules to data create/update record#1492k80bowman wants to merge 6 commits into
k80bowman wants to merge 6 commits into
Conversation
Sends the Sforce-Auto-Assign: FALSE REST header so records created or updated by these commands aren't reassigned by active Account, Case, or Lead assignment rules.
Adds a Case assignment rule and TestCaseQueue to the test data project so NUTs can verify the header suppresses reassignment end-to-end.
jshackell-sfdc
approved these changes
Aug 4, 2026
jshackell-sfdc
left a comment
Contributor
There was a problem hiding this comment.
I approve the summary text, but had a question about the flag names.
|
|
||
| Use Tooling API so you can insert a record in a Tooling API object. | ||
|
|
||
| # flags.no-assignment-rules.summary |
Contributor
There was a problem hiding this comment.
Hmmm, did you decide against --disable-assignment-rules? Boolean flag names should start with a verb.
Author
There was a problem hiding this comment.
Fixed. Changed to --skip-assignment-rules as per discussion. Thank you!
|
|
||
| Fields that you're updating, in the format of <fieldName>=<value> pairs. | ||
|
|
||
| # flags.no-assignment-rules.summary |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a
--skip-assignment-rulesboolean flag todata create recordanddata update record. When set, the commands send theSforce-Auto-Assign: FALSEREST header so records created or updated by these commands aren't reassigned by active Account, Case, or Lead assignment rules.TestCaseQueue.What issues does this PR fix or reference?
@W-23687514@