Page Properties | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||
Resources & Remarks Modification History
|
...
Column in yuuvis® client | Corresponding Counterpart in BPM Engine | Description |
---|---|---|
Description | Process variable whatAbout | The description that was entered while creating the follow-up. |
Created on | Process parameter startTime | The time the follow-up (process) was created. |
Follow-up date | Process variable expiryDateTime | The due date that was entered while creating the follow-up. |
...
The object actions can be extended with a plug-in action that can be offered in the MORE ACTIONS action group. The following example shows the Two step process action, which starts a process based on the twosteptest_proc
process model (mapped to Flowable processDefinitionKey
) for a single marked object or for multiple selected objects. Beginning with 2021 Winter Alph2, the objects are shown in the attachment task of the task details for a selected task in the inbox.
To provide the example Two step process action in a client, import the client plugin settings file shown below. To be able to import a settings file, users will need an administrative role.
The twosteptest_proc
process model has to be deployed to the Flowable BPM engine.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
{ "disabled": false, "actions": [ { "id": "yuv.custom.action.two.step.multi.label", "label": "yuv.custom.action.two.step.multi.label", "description": "yuv.custom.action.two.step.multi.description", "priority": 0, "icon": "<svg height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\"> <path d=\"M0 0h24v24H0V0z\" fill=\"none\"></path> <path d=\"M4 10h12v2H4zM4 6h12v2H4zM4 14h8v2H4zM14 14v6l5-3z\"></path> </svg>", "group": "further", "range": "SINGLEMULTI_SELECT", "isExecutable": "(item) => item.id", "run": "(selection) => this.http.post('/bpm/processes', {'businessKey': selection[0].id, 'name': selection[0].title || selection[0].id, 'processDefinitionKey': 'twosteptest_proc', 'variables'attachments: [ { 'name': 'documentId', 'type': 'string', 'value'selection.map((s) => s.id), subject: selection[0].id},title, variables: [{ 'name': 'whatAboutdeine_mudda', 'type': 'string', 'value': selection[0].titlevalue: 'Lorem ipsum' }]}, 'api-web').then(() => this.util.notifier.success(this.util.translate('yuv.custom.action.two.step.multi.success')))" }, "yuv-download-action", "yuv-delete-action", "yuv-delete", "yuv-upload", "yuv-upload-action", "yuv-move-action", "yuv-move", "yuv-follow-up-action", "yuv-follow-up", "yuv-reference-action", "yuv-open-context-action", "yuv-open-versions-action", "yuv-clipboard-action", "yuv-clipboard-link-action" ], "translations": { "en": { "yuv.custom.action.two.step.multi.label": "Two step process", "yuv.custom.action.two.step.multi.description": "Starts simple process with two steps, also for many objects", "yuv.custom.action.two.step.multi.success": "Process has started" }, "de": { "yuv.custom.action.two.step.multi.label": "Zweischritteprozess", "yuv.custom.action.two.step.multi.description": "Startet einen einfachen Prozess mit zwei Schritten, auch für mehrere Prozesse", "yuv.custom.action.two.step.multi.success": "Prozess wurde gestartet" } } } |
...