@fluxhub/fluxhub-lib 19.0.204 → 19.0.206
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -28652,7 +28652,8 @@ class FHWorkflowView {
|
|
|
28652
28652
|
app_op.sql = 'DELETE_TODO_ALL_BYID';
|
|
28653
28653
|
app_op.types = ['string', 'string'];
|
|
28654
28654
|
app_op.values = [this.id_applicativo, this.get_grid().sRow.uiid];
|
|
28655
|
-
|
|
28655
|
+
// TODO gestionale: utility opzionale, se assente non deve allarmare l'utente
|
|
28656
|
+
op.push(this.m_dataService.doQuery(app_op, false));
|
|
28656
28657
|
let a_aut = '';
|
|
28657
28658
|
let a_pers_inti = '';
|
|
28658
28659
|
let a_utif = '';
|
|
@@ -28689,7 +28690,8 @@ class FHWorkflowView {
|
|
|
28689
28690
|
this.get_grid().sRow.uiid +
|
|
28690
28691
|
'/edit',
|
|
28691
28692
|
];
|
|
28692
|
-
|
|
28693
|
+
// TODO gestionale: utility opzionale, se assente non deve allarmare l'utente
|
|
28694
|
+
op.push(this.m_dataService.doQuery(app_op, false));
|
|
28693
28695
|
if (old_grp == 'XCXXX' || old_grp == this.wax[i].gruppo_parallelo) {
|
|
28694
28696
|
old_grp = this.wax[i].gruppo_parallelo;
|
|
28695
28697
|
}
|
|
@@ -28834,7 +28836,8 @@ class FHWorkflowView {
|
|
|
28834
28836
|
this.user_idp,
|
|
28835
28837
|
];
|
|
28836
28838
|
let ok_op = false;
|
|
28837
|
-
|
|
28839
|
+
// exec_app_workflow (es. wkf_OU): utility opzionale, non allarmare se assente
|
|
28840
|
+
this.m_wkf.doQuery(p, false).subscribe((data) => { });
|
|
28838
28841
|
}
|
|
28839
28842
|
});
|
|
28840
28843
|
}
|
|
@@ -28878,7 +28881,8 @@ class FHWorkflowView {
|
|
|
28878
28881
|
p.values = [uiid_op, JSON.stringify(obj_r)];
|
|
28879
28882
|
p.types = ['string', 'string'];
|
|
28880
28883
|
this.m_dataService.doQuery(p).subscribe((data) => {
|
|
28881
|
-
|
|
28884
|
+
// send_email: app dir opzionale, non allarmare l'utente se non configurata
|
|
28885
|
+
this.m_fileservice.doQuery(fs, false).subscribe((data) => { });
|
|
28882
28886
|
});
|
|
28883
28887
|
}
|
|
28884
28888
|
imp = '';
|
|
@@ -33487,6 +33491,20 @@ class FHWorkflowForm {
|
|
|
33487
33491
|
v: this.app_s.user,
|
|
33488
33492
|
nc: this.app_s.user_surname + ' ' + this.app_s.user_name,
|
|
33489
33493
|
});
|
|
33494
|
+
// Fallback *REQUESTER: alcuni documenti non hanno la variabile wkf
|
|
33495
|
+
// 'REQUESTER' (es. creati da flussi che non la popolano). Senza di essa
|
|
33496
|
+
// gli step con context *REQUESTER non vengono risolti e l'avanzamento
|
|
33497
|
+
// fallisce con [0x002]. In quel caso la sintetizzo dal creatore del
|
|
33498
|
+
// documento (wkf_documents.creatore), da cui vengono poi derivati anche
|
|
33499
|
+
// *ALLUSERS e *CREATOR nei blocchi seguenti.
|
|
33500
|
+
if (!datav.result_data.some((v) => v.k === '*REQUESTER') &&
|
|
33501
|
+
this.m_obj && this.m_obj.creatore) {
|
|
33502
|
+
datav.result_data.push({
|
|
33503
|
+
k: '*REQUESTER',
|
|
33504
|
+
v: this.m_obj.creatore,
|
|
33505
|
+
nc: this.m_obj.nc || this.m_obj.creatore,
|
|
33506
|
+
});
|
|
33507
|
+
}
|
|
33490
33508
|
if (this.m_obj.stato == null || this.m_obj.stato <= 10)
|
|
33491
33509
|
datav.result_data.push({
|
|
33492
33510
|
k: '*ALLUSERS',
|