refresh script recupero email soggetto ripartizione da modulo
This commit is contained in:
+8
-1
@@ -12,7 +12,7 @@ http:
|
|||||||
- name: x-api-key
|
- name: x-api-key
|
||||||
value: "{{elixFormsWsAuthenticationToken}}"
|
value: "{{elixFormsWsAuthenticationToken}}"
|
||||||
- name: x-ef-request-id
|
- name: x-ef-request-id
|
||||||
value: "25286"
|
value: "31397"
|
||||||
body:
|
body:
|
||||||
type: json
|
type: json
|
||||||
data: |-
|
data: |-
|
||||||
@@ -35,6 +35,7 @@ runtime:
|
|||||||
prepareEftlDocument(String.raw`
|
prepareEftlDocument(String.raw`
|
||||||
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
[EFTL][HEADER name="trimDocument" value="true" type="boolean" /]
|
||||||
|
|
||||||
|
[VAR name="richiedenteCF" type="string"][TAG]GETVALUEBYTAG,RICHIEDENTE_CODFIS,REQUEST,IUQOID,UPDATED_LAST[/TAG][/VAR]
|
||||||
[VAR name="firstItem" type="number"][% firstItem = 0; %][/VAR]
|
[VAR name="firstItem" type="number"][% firstItem = 0; %][/VAR]
|
||||||
[VAR name="secondItem" type="number"][% secondItem = 1; %][/VAR]
|
[VAR name="secondItem" type="number"][% secondItem = 1; %][/VAR]
|
||||||
|
|
||||||
@@ -44,6 +45,10 @@ runtime:
|
|||||||
[VAR name="lastUpdatedNominativoCF" type="string"][VALUE_OF varname="lastUpdatedNominativoRightIterable" index="firstItem" /][/VAR]
|
[VAR name="lastUpdatedNominativoCF" type="string"][VALUE_OF varname="lastUpdatedNominativoRightIterable" index="firstItem" /][/VAR]
|
||||||
|
|
||||||
[VAR name="emailPartecipante" type="string"][% emailPartecipante = ""; %][/VAR]
|
[VAR name="emailPartecipante" type="string"][% emailPartecipante = ""; %][/VAR]
|
||||||
|
|
||||||
|
[IF]
|
||||||
|
[CONDITION][% lastUpdatedNominativoCF != "" && lastUpdatedNominativoCF != richiedenteCF %][/CONDITION]
|
||||||
|
[THEN]
|
||||||
[VAR name="arrayCfEmailIterable" type="iterable"][SPLIT regex=";"][TAG]GETVALUEBYTAG,SOGGETTI_EMAIL,REQUEST,IUQOID[/TAG][/SPLIT][/VAR]
|
[VAR name="arrayCfEmailIterable" type="iterable"][SPLIT regex=";"][TAG]GETVALUEBYTAG,SOGGETTI_EMAIL,REQUEST,IUQOID[/TAG][/SPLIT][/VAR]
|
||||||
[FOR varname="coppia" iterable="arrayCfEmailIterable"]
|
[FOR varname="coppia" iterable="arrayCfEmailIterable"]
|
||||||
[VAR name="coppiaIterable" type="iterable"][SPLIT regex=":"][VALUE_OF varname="coppia" /][/SPLIT][/VAR]
|
[VAR name="coppiaIterable" type="iterable"][SPLIT regex=":"][VALUE_OF varname="coppia" /][/SPLIT][/VAR]
|
||||||
@@ -60,6 +65,8 @@ runtime:
|
|||||||
[CONDITION][% DEBUG == "S" %][/CONDITION]
|
[CONDITION][% DEBUG == "S" %][/CONDITION]
|
||||||
[THEN][% emailPartecipante = "pierpaolo.mammi@unipr.it"; %][/THEN]
|
[THEN][% emailPartecipante = "pierpaolo.mammi@unipr.it"; %][/THEN]
|
||||||
[/IF]
|
[/IF]
|
||||||
|
[/THEN]
|
||||||
|
[/IF]
|
||||||
|
|
||||||
[%= emailPartecipante %]
|
[%= emailPartecipante %]
|
||||||
[/EFTL]
|
[/EFTL]
|
||||||
|
|||||||
Reference in New Issue
Block a user