mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
42 lines
1.2 KiB
Markdown
42 lines
1.2 KiB
Markdown
---
|
|
Added: v2.0.0
|
|
Status: Active
|
|
---
|
|
# Process Instance Details Header component
|
|
|
|
Sub-component of the process details component, which renders some general information about the selected process.
|
|
|
|

|
|
|
|
## Basic Usage
|
|
|
|
```html
|
|
<adf-process-instance-header
|
|
processInstance="localProcessDetails">
|
|
</adf-process-instance-details>
|
|
```
|
|
|
|
### Properties
|
|
|
|
| Name | Type | Default value | Description |
|
|
| ---- | ---- | ------------- | ----------- |
|
|
| processInstance | `ProcessInstance` | | (**required**) Full details of the process instance to display information about. |
|
|
|
|
## Customise the properties showed
|
|
By default all the properties are showed :
|
|
***status***, ***ended***, ***category***, ***businessKey***, ***assignee***, ***created***,***id***, ***description***.
|
|
|
|
It is possible to customise the showed properties via "app.config.json".
|
|
This is how the configuration looks like:
|
|
|
|
```json
|
|
|
|
"adf-process-instance-header": {
|
|
"presets": {
|
|
"properties" : [ "status", "ended", "created", "id"]
|
|
}
|
|
}
|
|
|
|
```
|
|
In this way only the listed properties will be showed.
|