Skip to content

Commit

Permalink
feat(zeebe): add sript task implementation tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
smbea committed Aug 23, 2023
1 parent 8a50323 commit 068c55c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
13 changes: 13 additions & 0 deletions src/contextProvider/zeebe/TooltipProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,19 @@ const TooltipProvider = {

},

'group-scriptImplementation': (element) => {
const translate = useService('translate');

return (
<div>
{ translate('Implement a script task. To add a custom implementation use a job worker. ')}
<a href="https://docs.camunda.io/docs/components/modeler/bpmn/script-tasks/#defining-a-script-task" target="_blank" rel="noopener" title={ translate('Script task documentation') }>
{ translate('Learn more.') }
</a>
</div>
);
},

'group-form': (element) => {
const translate = useService('translate');

Expand Down
3 changes: 2 additions & 1 deletion src/provider/zeebe/properties/TaskDefinitionProps.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ function TaskDefinitionRetries(props) {
feel: 'optional',
getValue,
setValue,
debounce
debounce,
tooltip: translate('Specifies the number of times the job is retried when a worker signals failure. The default is three.')
});
}

Expand Down

0 comments on commit 068c55c

Please sign in to comment.