Skip to content

Commit

Permalink
chore: added user task migration documentation link
Browse files Browse the repository at this point in the history
  • Loading branch information
Skaiir committed Dec 11, 2024
1 parent 97ff2af commit 72e2c77
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/utils/documentation.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const baseUrl = 'https://docs.camunda.io/docs/next/components/modeler/reference/modeling-guidance/rules';
const userTaskMigrationUrl = 'https://docs.camunda.io/docs/next/apis-tools/migration-manuals/migrate-to-zeebe-user-tasks';

export function getDocumentationUrl(rule) {
if (rule === 'camunda-compat/called-element') {
Expand Down Expand Up @@ -29,6 +30,10 @@ export function getDocumentationUrl(rule) {
return getUrl('history-time-to-live');
}

if (rule === 'camunda-compat/zeebe-user-task') {
return userTaskMigrationUrl;
}

return null;
}

Expand Down

0 comments on commit 72e2c77

Please sign in to comment.