Skip to content

Commit 392e426

Browse files
committed
fix(zeebe): correct retries tooltip
Related to camunda/camunda-modeler#4148
1 parent 11a8efe commit 392e426

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

src/contextProvider/zeebe/TooltipProvider.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,19 @@ const TooltipProvider = {
226226
</a>
227227
</div>
228228
);
229+
},
230+
'taskDefinitionRetries': (element) => {
231+
232+
const translate = useService('translate');
233+
234+
return (
235+
<div>
236+
<p>
237+
{ translate('The number of times the engine tries executing this activity if a worker signals a failure. The default is three.') } { ' ' }
238+
<a href="https://docs.camunda.io/docs/next/components/best-practices/development/dealing-with-problems-and-exceptions/#leveraging-retries" target="_blank" rel="noopener">{ translate('Learn more.') }</a>
239+
</p>
240+
</div>
241+
);
229242
}
230243
};
231244

src/provider/zeebe/properties/TaskDefinitionProps.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,7 @@ function TaskDefinitionRetries(props) {
217217
feel: 'optional',
218218
getValue,
219219
setValue,
220-
debounce,
221-
tooltip: translate('Specifies the number of times the job is retried when a worker signals failure. The default is three.')
220+
debounce
222221
});
223222
}
224223

0 commit comments

Comments
 (0)