Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(docs): add copy selected PI ids button #1751

Merged
merged 2 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions content/webapps/cockpit/bpmn/dashboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,14 @@ The format of the export result is a file of [Comma-separated values (CSV)](http
* `double`, `integer`, `long`, `short` (number types)
* You can only export the value property of a variable.

## Copy the ID-s of selected Process Instances

Sometimes incidents make it necessary for the Operations Engineer to intervene manually. To make it easier to work with a subset of Process Instances it is possible to copy the ID-s of the selected Process Instances using the `Copy selected Process Instances IDs` button:

{{< img src="../../img/cockpit-copy-process-instance-ids.png" title="Copy selected id-s button" >}}

The selected Process Instance ID-s then can be used for example to filter process instances using the [`IN` filter operator](##in-operator) or the [`Not In` filter operator](#not-in-operator).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Copy the ID-s of selected Process Instances
Sometimes incidents make it necessary for the Operations Engineer to intervene manually. To make it easier to work with a subset of Process Instances it is possible to copy the ID-s of the selected Process Instances using the `Copy selected Process Instances IDs` button:
{{< img src="../../img/cockpit-copy-process-instance-ids.png" title="Copy selected id-s button" >}}
The selected Process Instance ID-s then can be used for example to filter process instances using the [`IN` filter operator](##in-operator) or the [`Not In` filter operator](#not-in-operator).
## Copy the IDs of selected Process Instances
Sometimes incidents make it necessary for the Operations Engineer to intervene manually. To make it easier to work with a subset of Process Instances it is possible to copy the IDs of the selected Process Instances using the `Copy selected Process Instances IDs` button:
{{< img src="../../img/cockpit-copy-process-instance-ids.png" title="Copy selected ids button" >}}
The selected Process Instance IDs then can be used for example to filter process instances using the [`IN` filter operator](##in-operator) or the [`Not In` filter operator](#not-in-operator).

❌ Personally, I don't have a strong preference of how to write IDs. However, I would opt for consistency in this case.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, applied suggested changes.

## `IN` operator

{{< img src="../../img/cockpit-in-operator.png" title="IN Operator" >}}
Expand All @@ -142,6 +150,22 @@ start editing by clicking on the value. You can expand the value in a modal dial

{{< img src="../../img/cockpit-in-operator-modal.png" title="IN Operator Modal" >}}

## `NOT IN` operator

{{< img src="../../img/cockpit-not-in-operator.png" title="NOT IN Operator" >}}
Cockpit provides `NOT IN` operator support when filtering for process instances for the following query criteria:

* Process instance ID
* Process definition key

Use the `NOT IN` operator to exclude any results matching one of the specified values.

By default, all search criteria are combined with a logical `AND` ([conjunctive normal form](https://en.wikipedia.org/wiki/Conjunctive_normal_form)). If you need to exclude multiple values, select a criterion that supports the `NOT IN` operator and provide them as a comma-separated list. To edit the list, click the value. For more extensive editing, click the
<button class="btn btn-xs"><i class="glyphicon glyphicon-resize-full"></i></button>
button to open a modal dialog.

{{< img src="../../img/cockpit-edit-not-in-criterion-modal.png" title="IN Operator Modal" >}}

# Delete process definitions

{{< enterprise >}}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.