Changes for page 4. The iXPath BPMN
Last modified by Achraf El Kari on 2022/06/13 13:18
<
>
edited by Outhman Moustaghfir
on 2021/04/26 14:36
on 2021/04/26 14:36
edited by Outhman Moustaghfir
on 2021/04/26 15:03
on 2021/04/26 15:03
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -158,7 +158,7 @@ 158 158 1*. iXSubject : refers to the mail subject. 159 159 1. For an **AS2 listener **: 160 160 1*. iXFrom : return the value of the AS2 sender. 161 -1. All connectors declare a system variable of type BpmnFile, it will be explained by details in the variables rubric. 161 +1. All connectors declare a system variable of type BpmnFile, it will be explained by details in the "variables" rubric. 162 162 163 163 == Local variables == 164 164 ... ... @@ -166,7 +166,31 @@ 166 166 167 167 In order to set a new variable, the user may go through this line of code : 168 168 169 - {{code language="XML"}}<xsl:value-of select="ixf:SetVar('maVarname', "Ma variable")"/> 169 +{{code language="XML"}} 170 +<xsl:value-of select="ixf:SetVar('Var', "var number 1") "></xsl:value-of> 171 + 170 170 {{/code}} 171 171 174 + here, we created a local variable named __'Var'__ with value of __"var number 1".__ 175 + 176 +To get this variable '__Var'__ from XSL file : 177 + 178 +{{code language="XML"}} 179 +<xsl:value-of select="ixf:getVar('Var')"></xsl:value-of> 180 +{{/code}} 181 + 172 172 = Conditions = 183 + 184 +iXPath supports the usual logical conditions from mathematics like : a<b , a = b ... 185 + 186 +Conditions hold the decision to execute a connector or not. 187 + 188 +Eg of condition : 189 + 190 +Var == "My real variable" 191 + 192 +In the "Conditions" rubric, we will give you the entire details about conditions and how to use them perfectly. 193 + 194 + 195 + 196 +