@fluxhub/fluxhub-lib 10.0.545 → 10.0.546

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.
@@ -22675,6 +22675,9 @@
22675
22675
  });
22676
22676
  }
22677
22677
  */
22678
+ dati_aggiuntivi_v2.prototype.wkf_rule_before = function (transazioni, step, context) {
22679
+ return transazioni;
22680
+ };
22678
22681
  dati_aggiuntivi_v2.prototype.calcolanextandjump = function () {
22679
22682
  var _this = this;
22680
22683
  console.log('calcolanextandjump');
@@ -22687,6 +22690,7 @@
22687
22690
  if (data.result_msg == "OK") {
22688
22691
  var transazioni = data.result_data;
22689
22692
  console.log('transazioni ', transazioni);
22693
+ transazioni = _this.wkf_rule_before(transazioni, _this.clevel.step, _this.clevel.context);
22690
22694
  if (transazioni.length == 0) {
22691
22695
  _this.alert('Nessuna transizione definita dallo step: ' + _this.clevel.step, 1);
22692
22696
  return;