diff --git a/docs/documentation/reference/bpmn20/tasks/script-task.md b/docs/documentation/reference/bpmn20/tasks/script-task.md index 4ba4f1e6..3cb17409 100644 --- a/docs/documentation/reference/bpmn20/tasks/script-task.md +++ b/docs/documentation/reference/bpmn20/tasks/script-task.md @@ -39,7 +39,7 @@ For general information about scripting in the process engine, please see the [S :::note[Supported Script Languages] -Operaton should work with most of the JSR-223 compatible script engine implementations. We test integration for Groovy, JavaScript, JRuby and Jython. See the Third Party Dependencies section of the User Guide for more details. +Operaton should work with most of the JSR-223 compatible script engine implementations. We test integration for Groovy, JavaScript, JRuby and Jython. See the [Scripting](../../../user-guide/process-engine/scripting.md) section of the [User Guide][user-guide] for more details. ::: diff --git a/docs/documentation/reference/deployment-descriptors/tags/process-engine.mdx b/docs/documentation/reference/deployment-descriptors/tags/process-engine.mdx index d02cd9b4..40484eda 100644 --- a/docs/documentation/reference/deployment-descriptors/tags/process-engine.mdx +++ b/docs/documentation/reference/deployment-descriptors/tags/process-engine.mdx @@ -368,7 +368,7 @@ The following is a list with the most commonly used process engine configuration - enableXxeProcessing + enableXxeProcessing Boolean If set to true, enables XML eXternal Entity (XXE) Processing. When disabled, it provides protection against XXE Processing attacks. diff --git a/docs/documentation/reference/dmn/decision-table/img/map.js b/docs/documentation/reference/dmn/decision-table/img/map.js deleted file mode 100644 index 9f0945ee..00000000 --- a/docs/documentation/reference/dmn/decision-table/img/map.js +++ /dev/null @@ -1,169 +0,0 @@ -/* Use this as helper to determine the overlay % / regions -const img = document.querySelector(".no-lightbox img"); - -function offset(element) { - const rect = element.getBoundingClientRect(), - const left = window.pageXOffset || document.documentElement.scrollLeft, - const top = window.pageYOffset || document.documentElement.scrollTop; - return { top: rect.top + top, left: rect.left + left } -} - -img.addEventListener("click", (e) => { - console.log(`top: ```${(e.pageY - offset(img).top) / img.height * 100}`); - console.log(`left: ```${(e.pageX - offset(img).left) / img.width * 100}`); -}); */ - - -(function () { -'use strict'; -var keys = Object.keys; - -function eachKeys(obj, ite) { - keys(obj).forEach(function (key) { - ite(key, obj[key]); - }); -} - -function query(sel, ctx) { - ctx = ctx || document; - return ctx.querySelector(sel); -} - -function mkEl(tagName, attrs) { - attrs = attrs || {}; - var el = document.createElement(tagName); - eachKeys(attrs, function (key, val) { - el.setAttribute(key, val); - }); - return el; -} - -var regions = { - name: { - title: 'Decision Name', - href: '#decision-name', - coords: [ - { - top: 0, - left: 0.5, - width: 13.5, - height: 5.5 - }, - { - top: 7, - left: 0.7, - width: 12, - height: 14.5 - } - ] - }, - - hitPolicy: { - title: 'Hit policy', - href: 'hit-policy/', - coords: [ - { - top: 3.6, - left: 19, - width: 8, - height: 5 - }, - { - top: 10, - left: 13, - width: 20, - height: 9.5 - } - ] - }, - - rule: { - title: 'Rule', - href: 'rule', - coords: [ - { - top: 95, - left: 30, - width: 4, - height: 5.5 - }, - { - top: 52, - left: 0, - width: 100, - height: 7.5 - } - ] - }, - - conditions: { - title: 'Input Entry (Condition)', - href: 'rule/#input-entry-condition', - coords: [ - { - top: 95, - left: 6, - width: 20.5, - height: 5.5 - }, - { - top: 65, - left: 6, - width: 18, - height: 7.5 - } - ] - }, - - conclusions: { - title: 'Output Entry (Conclusion)', - href: 'rule/#output-entry-conclusion', - coords: [ - { - top: 95, - left: 41.5, - width: 23, - height: 5.5 - }, - { - top: 66, - left: 43, - width: 19.0, - height: 6.5 - } - ] - } -}; - -var fig = query('figure.no-lightbox'); -var img = query('img', fig); - -var wrapper = mkEl('div', { - style: 'transition:all 0.218s linear;position:absolute;' + - 'top:0;left:0;' + - 'width:100%;' + - 'height:100%;' -}); - -var holder = img.parentNode; -holder.appendChild(wrapper); -holder.style.position = 'relative'; - -keys(regions).forEach(function (name) { - regions[name].coords.forEach(function (coords/*, c*/) { - var el = mkEl('a', { - href: regions[name].href, - title: regions[name].title, - style: 'position:absolute;' + - 'display:block;' + - // 'background-color:rgba('+ (c ? '0,122' : '122,0') +',0,0.5);' + - 'cursor:pointer;' + - 'top:' + coords.top + '%;' + - 'left:' + coords.left + '%;' + - 'width:' + coords.width + '%;' + - 'height:' + coords.height + '%;' - }); - wrapper.appendChild(el); - }); -}); -})(); diff --git a/docs/documentation/reference/dmn/decision-table/index.md b/docs/documentation/reference/dmn/decision-table/index.md index 26c9c08c..a81d9d16 100644 --- a/docs/documentation/reference/dmn/decision-table/index.md +++ b/docs/documentation/reference/dmn/decision-table/index.md @@ -6,7 +6,6 @@ sidebar_position: 10 --- ![Dish table](/img/documentation/reference/dmn/decision-table/dish-table.png) - A decision table represents decision logic which can be depicted as a table in DMN 1.3. It consists of [inputs], [outputs] and [rules]. diff --git a/docs/documentation/reference/rest/overview/index.md b/docs/documentation/reference/rest/overview/index.md index a80fc7c9..38fb20ad 100644 --- a/docs/documentation/reference/rest/overview/index.md +++ b/docs/documentation/reference/rest/overview/index.md @@ -103,7 +103,7 @@ The REST API maps exceptions to HTTP status codes as follows: 401 Unauthorized - Authentication is enabled and the request does not contain valid credentials. + Authentication is enabled and the request does not contain valid credentials. No body; the WWW-Authenticate response header contains the authentication challenge diff --git a/docs/documentation/user-guide/process-engine/decisions/bpmn-cmmn.md b/docs/documentation/user-guide/process-engine/decisions/bpmn-cmmn.md index ab56286e..695583e8 100644 --- a/docs/documentation/user-guide/process-engine/decisions/bpmn-cmmn.md +++ b/docs/documentation/user-guide/process-engine/decisions/bpmn-cmmn.md @@ -388,9 +388,10 @@ These APIs are **not** part of the [public API](../../../introduction/public-api ::: It is possible to add own functions which can be used inside JUEL expressions. -Therefore a new [FunctionMapper](org/operaton/bpm/engine/impl/javax/el/FunctionMapper.html) has to be implemented. The function mapper than -has to be added to the process engine configuration after it was -initialized. +Therefore a public static method has to be registered with +`ExpressionManager#addFunction(String, Method)` of the process engine configuration +after it was initialized. The function name can contain a prefix separated by a colon, +e.g., `my:function`. ```java ProcessEngineConfigurationImpl processEngineConfiguration = (ProcessEngineConfigurationImpl) processEngine @@ -398,7 +399,7 @@ ProcessEngineConfigurationImpl processEngineConfiguration = (ProcessEngineConfig processEngineConfiguration .getExpressionManager() - .addFunctionMapper(new MyFunctionMapper()); + .addFunction("my:function", MyFunctions.class.getMethod("function")); ``` This can be done, for example, by creating a [process engine plugin]. diff --git a/docs/documentation/user-guide/process-engine/process-diagram-api.md b/docs/documentation/user-guide/process-engine/process-diagram-api.md index 9d185af7..86570d8b 100644 --- a/docs/documentation/user-guide/process-engine/process-diagram-api.md +++ b/docs/documentation/user-guide/process-engine/process-diagram-api.md @@ -20,7 +20,7 @@ In our web applications [Cockpit](../../webapps/cockpit/index.md) and [Tasklist] ## bpmn.io Diagram Renderer -To render a process diagram, you need to retrieve the diagram XML via the Java- or [REST API](../getProcessDefinitionBpmn20XmlByKey#Process-Definition). The following example shows how to render the process XML using bpmn.io. For more documentation regarding the annotation of the diagram and user interaction, please refer to the [bpmn.io](https://github.com/bpmn-io/bpmn-js) page. +To render a process diagram, you need to retrieve the diagram XML via the Java- or . The following example shows how to render the process XML using bpmn.io. For more documentation regarding the annotation of the diagram and user interaction, please refer to the [bpmn.io](https://github.com/bpmn-io/bpmn-js) page. ```javascript var BpmnViewer = require('bpmn-js'); diff --git a/docs/documentation/user-guide/spring-boot-integration/process-applications.md b/docs/documentation/user-guide/spring-boot-integration/process-applications.md index f85345ae..1c5606aa 100644 --- a/docs/documentation/user-guide/spring-boot-integration/process-applications.md +++ b/docs/documentation/user-guide/spring-boot-integration/process-applications.md @@ -28,7 +28,7 @@ public class MyApplication { } ``` -Some configuration can be done via Spring Boot configuration parameters. Check [the list of currently available parameters](../spring-boot-integration/configuration.mdx#operaton-bpm-application). +Some configuration can be done via Spring Boot configuration parameters. Check [the list of currently available parameters](../spring-boot-integration/configuration.mdx#operaton-engine-properties). ## Using Deployment Callbacks diff --git a/docs/documentation/webapps/cockpit/bpmn/process-definition-view.md b/docs/documentation/webapps/cockpit/bpmn/process-definition-view.md index ad3d94be..c253a419 100644 --- a/docs/documentation/webapps/cockpit/bpmn/process-definition-view.md +++ b/docs/documentation/webapps/cockpit/bpmn/process-definition-view.md @@ -89,28 +89,6 @@ Add a filter for process instances by filtering for a `boolean` value. Add a filter for process instances by filtering for a `numeric` (double, integer, long or short) value. -### History View - -Add a filter to the [process definition history view][process-definition-history-view]. Select filters for variables, the start date and time, the activity ID or the business key of process instances as in [the runtime view](#runtime-view). In addition, select filters for completed, running or process instances with a certain end date and time. - -**Filtering for completed and running process instances** - -![Example img](/img/documentation/webapps/cockpit/bpmn/history-completed.png)Filter Example -![Example img](/img/documentation/webapps/cockpit/bpmn/history-running.png)Filter Example - -Add a filter for process instances by filtering for already completed or still running process instances. - - -**End Date and Time** - -![Example img](/img/documentation/webapps/cockpit/bpmn/history-end-date.png)Filter Example - -Add a filter for process instances by end date. Please note that the date must be set in accordance to the [ISO 8601](http://en.wikipedia.org/wiki/ISO_8601) standard and that this option is only available in the [process definition history view][process-definition-history-view]. Again choose between `before` and `after` to filter for instances that were ended before or after the given date. For example, click on `before` to obtain the selection.. - - -[process-definition-history-view]: ../bpmn/process-history-views.md#process-definition-history-view - - ## Delete Multiple Running Process Instances ![Example img](/img/documentation/webapps/cockpit/bpmn/cockpit-bulk-delete.png)Batch Delete Running Process Instances @@ -160,8 +138,4 @@ However, the called process definition can only be resolved at runtime and is on ![Example img](/img/documentation/webapps/cockpit/bpmn/cockpit-call-activity-definition-navigation.png)Navigate to called processes definition -For more drill down options on call activities you can check out the [process instance view][process-instance-view] -and the [process history views][process-history-views]. - - -[process-history-views]: ../bpmn/process-history-views.md +For more drill down options on call activities you can check out the [process instance view][process-instance-view]. diff --git a/static/img/documentation/webapps/cockpit/bpmn/history-completed.png b/static/img/documentation/webapps/cockpit/bpmn/history-completed.png deleted file mode 100644 index dd953375..00000000 Binary files a/static/img/documentation/webapps/cockpit/bpmn/history-completed.png and /dev/null differ diff --git a/static/img/documentation/webapps/cockpit/bpmn/history-end-date.png b/static/img/documentation/webapps/cockpit/bpmn/history-end-date.png deleted file mode 100644 index c17f6498..00000000 Binary files a/static/img/documentation/webapps/cockpit/bpmn/history-end-date.png and /dev/null differ diff --git a/static/img/documentation/webapps/cockpit/bpmn/history-running.png b/static/img/documentation/webapps/cockpit/bpmn/history-running.png deleted file mode 100644 index 389fa2bb..00000000 Binary files a/static/img/documentation/webapps/cockpit/bpmn/history-running.png and /dev/null differ