Breadcrumbs

pas-base-directives: TableSendDirective

This directive activates the multiselect mode of pas-data-table-lazy.

Specification

Attribute

Type

Description

Example

pasTableSendEvent

string

This directive selector contains a list of events that have to be defined in the process, and to be registered. As per default, it contains a Delete_Instance event.

Delete_Instance

Example

<pas-data-table-lazy pasTableSendEvent="Delete_Instance">
</pas-data-table-lazy>

Available Events

Delete_Instance

The Delete_Instance event is a ready to use event with the instance list. It creates a delete button in the table header of pas-data-table-lazy and sends the Delete_Instance event on click.

The ProcessService calls sendStart.

Parameter

Type

Mandatory

Description

Example

process

string

check mark

The process is identified automatically by ActivatedRoute.

myProcess

event

string

check mark

Has to be setup by the pasTableSendEvent attribute

Delete_Instance

data

DeleteInstanceMessage


Optional parameter to send data, e2e:type has to be created in the service implementation.

{ 'e2e:type': 'DeleteInstanceMessage', ... }

DeleteInstanceMessage

Parameter

Type

Description

Allowed Values / Example

e2e:type

string

Base type information for the compiler.

DeleteInstanceMessage

instanceIds

string[]

List of the selected process instances to delete.

['0000000b50ec420f00000001d0bf26c01ae20c3b', '0000002c52936879000000016cff96c08fd01ba4']

📗