Skip to content

Commit

Permalink
fix for Reset to factory default, set indestructable=true to the task
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Sep 5, 2023
1 parent b9cad2a commit d5637c8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -658,6 +658,7 @@ private void createAndRunDeleteAllTask() {
ActivitySubmissionOptions.create()
.withTaskTemplate(new TaskType()
.name("Delete all objects")
.indestructible(true)
.cleanupAfterCompletion(XmlTypeConverter.createDuration("P1D")))
.withArchetypes(
SystemObjectsType.ARCHETYPE_UTILITY_TASK.value(),
Expand Down

0 comments on commit d5637c8

Please sign in to comment.