Skip to content
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

[evolution] sfpegMassActionCmp - Support best effort DML operations instead of atomic ones #2

Closed
pegros opened this issue Sep 15, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@pegros
Copy link
Owner

pegros commented Sep 15, 2022

For now the sfpegMassActionSoqlDml_SVC service class only supports atomic DMLs.
It would be better to support "best effort" DMLs and feed back the operation result on the datatable via the _result property (including the error message for each row).

@pegros pegros added the evolution Enhancement / change request label Sep 15, 2022
@pegros pegros self-assigned this Sep 15, 2022
@pegros
Copy link
Owner Author

pegros commented Sep 19, 2022

Implementation done on commit d6cd644

@pegros
Copy link
Owner Author

pegros commented Sep 19, 2022

Upon action, a result object is returned for each input record and a status, icon, message... updated on the original row displayed in the datatable. Implementation of DML actions has been adapted accordingly, enabling to highlight which record were successfully processed. Best effort DMLs are proposed in addition to atomic transactions.

@pegros pegros closed this as completed Sep 19, 2022
@pegros pegros added enhancement New feature or request and removed evolution Enhancement / change request labels Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant