Iniziare@if (startables.length) { {{ startables.length }} } Storico@if (instances.length) { {{ instances.length }} } Attività@if (jobs.length) { {{ jobs.length }} } @if (segment !== 'inizia') { }
@if (segment === 'inizia') {
@if (!loading && startables.length === 0) {

Nessun workflow che puoi avviare

} @for (a of startables; track a) {

{{ a.wf_name }}

Avvia un nuovo flusso

}
} @if (segment === 'storico') {
@if (!loading && instances.length === 0) {

Nessuna istanza nello storico

} @for (i of instances; track i) {

{{ instanceTitle(i) }}

@if (i.wfj_description) {

{{ i.wfj_description }}

} @if (i.wfin_dateins) { {{ i.wfin_dateins | date: 'dd/MM/yyyy HH:mm' }} }
}
} @if (segment === 'attivita') {
@if (!loading && jobs.length === 0) {

Nessuna attività da eseguire

} @for (j of jobs; track j) {

{{ jobLabel(j) }}

@if (j.wfj_description) {

{{ j.wfj_description }}

} @if (j.wfj_dateins) { {{ j.wfj_dateins | date: 'dd/MM/yyyy HH:mm' }} }
}
} @if (loading) {
}