feat(W-23687514): add --skip-assignment-rules to data create/update record - #1492
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
left a comment
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 |
There was a problem hiding this comment.
Hmmm, did you decide against --disable-assignment-rules? Boolean flag names should start with a verb.
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 |
|
QA notes: ✅ Deployed assignment rule + queue metadata to scratch org |
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@