Dynamics-365-Workflow-Tools icon indicating copy to clipboard operation
Dynamics-365-Workflow-Tools copied to clipboard

Update Child record job fails if one of the child records is locked

Open twofiveo opened this issue 1 year ago • 0 comments

Dynamics 365 Version 1612 (8.2.9.19)

Below is how I am using this tool (which I really love btw)

When field A on the parent record changes (which is a lookup to another entity ), update child record field B (which is also a lookup to the same entity on parent field). And everything works just fine. However, on child record entity, there's a plugin that prevents any updates when the record reaches a certain stage.

let's assume Parent record has 5 child records, 2 of those child records have reached the stage where no further updates can be made (all fields are locked and plugin prevents further saves of changes)

  • when I update the field A on parent, my workflow fires and triggers the update of child records however this job fails without updating any child records because it couldn't update 1 one of the locked records

Describe the solution you'd like

  • workflow updates all the records it can but still returns an error saying that some records failed to update
  • or better yet, add support for some basic conditions so that i can specify to not update child records based on another field's value.

Describe alternatives you've considered None yet. currently stuck on this.

Additional context Add any other context or screenshots about the feature request here.

twofiveo avatar Aug 16 '22 16:08 twofiveo