<
From version < 100.4 >
edited by Outhman Moustaghfir
on 2021/04/26 13:12
To version < 105.4 >
edited by Achraf El Kari
on 2021/11/29 17:22
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.omoustaghfir
1 +XWiki.aelkari
Content
... ... @@ -100,7 +100,7 @@
100 100  
101 101  == Timers ==
102 102  
103 -Timers connectors, as its name says, set a timer to execute the next connector or launch a scenario ...
103 +As its name says, Timers connectors set a timer to execute the next connector or launch a scenario ...
104 104  
105 105  Timers connectors are listed as below :
106 106  
... ... @@ -131,7 +131,7 @@
131 131  
132 132  The parallel gateway (or the "AND gateway" ) is mainly used to synchronize parallel flows and create other parallel ones. These gateways create parallel paths without verifying conditions. each output sequential flow is passed through this gateway. About input flows, the parallel gateway waits for all other input flows before triggering the sequence of output flows. 
133 133  
134 -= Variables =
134 += [[Variables>>doc:.Variables.WebHome]] =
135 135  
136 136  It means the variables that are used to describe some system or local values in iXPath App.
137 137  
... ... @@ -140,9 +140,58 @@
140 140  * System Variables.
141 141  * Local Variables.
142 142  
143 +To call a certain variable named "var", we use ${} as ${var}.
144 +
143 143  == System variables ==
144 144  
147 +System variables define some default values in the system, and they can be often called by users.
145 145  
149 +Here is the list of all known system variables:
150 +
151 +1. At the declaration of the scenario:
152 +1*. iXSession: it returns the ID of the current session.
153 +1*. iXSessionPath : gets the Path of the session folder.
154 +1*. env : name of the environment.
155 +1*. inputFile : this variable collect all input files in one list.
156 +1*. iXEnvPath : Env's path
157 +1. For a **mail listener : **
158 +1*. iXFrom : refers to the sender of the mail.
159 +1*. iXSubject : refers to the mail subject.
160 +1. For an **AS2 listener **: 
161 +1*. iXFrom : return the value of the AS2 sender.
162 +1. All connectors declare a system variable of type BpmnFile, it will be explained by details in the "variables" rubric.
163 +
146 146  == Local variables ==
147 147  
166 +For a need to make the concept of variables more extensible, local variables come to offer the possibility of creating and calling new variables.
167 +
168 +In order to set a new variable, the user may go through this line of code :
169 +
170 +{{code language="XML"}}
171 +<xsl:value-of select=" ixf:SetVar('Var', 'var Number 1')"></xsl:value-of>
172 +
173 +{{/code}}
174 +
175 + here, we created a local variable named __'Var'__ with value of __"var number 1".__
176 +
177 +To get this variable '__Var'__ from XSL file :
178 +
179 +{{code language="XML"}}
180 +<xsl:value-of select="ixf:getVar('Var')"></xsl:value-of>
181 +{{/code}}
182 +
148 148  = Conditions =
184 +
185 +iXPath supports the usual logical conditions from mathematics like : a<b , a = b ...
186 +
187 +Conditions hold the decision to execute a connector or not.
188 +
189 +Eg of condition :
190 +
191 +Var == "My real variable"
192 +
193 +In the "Conditions" rubric, we will give you the entire details about conditions and how to use them perfectly.
194 +
195 +
196 +
197 +
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian