Changes for page 4. The iXPath BPMN
Last modified by Achraf El Kari on 2022/06/13 13:18
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. omoustaghfir1 +XWiki.aelkari - Content
-
... ... @@ -100,7 +100,7 @@ 100 100 101 101 == Timers == 102 102 103 -Timers connectors ,asits namesays, 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 ... ... @@ -148,14 +148,49 @@ 148 148 149 149 Here is the list of all known system variables: 150 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. 151 151 1. For a **mail listener : ** 152 152 1*. iXFrom : refers to the sender of the mail. 153 153 1*. iXSubject : refers to the mail subject. 154 154 1. For an **AS2 listener **: 155 155 1*. iXFrom : return the value of the AS2 sender. 156 -1. 161 +1. All connectors declare a system variable of type BpmnFile, it will be explained by details in the "variables" rubric. 157 157 158 - 159 159 == Local variables == 160 160 165 +For a need to make the concept of variables more extensible, local variables come to offer the possibility of creating and calling new variables. 166 + 167 +In order to set a new variable, the user may go through this line of code : 168 + 169 +{{code language="XML"}} 170 +<xsl:value-of select="ixf:SetVar('Var', "var number 1") "></xsl:value-of> 171 + 172 +{{/code}} 173 + 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 + 161 161 = 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 +