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)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. omoustaghfir1 +XWiki.aelkari - Content
-
... ... @@ -46,7 +46,7 @@ 46 46 |(% style="width:158px" %)**Scenario Connector**|(% style="width:79px" %)**Icon**|(% style="width:753px" %)**Description** 47 47 |(% style="width:158px" %)__FileToXML__|(% style="width:79px" %)[[image:2021-04-21_12h19_50.png||height="69" width="82"]]|(% style="width:753px" %)Transforms a certain file to XML format with a given output file name. 48 48 |(% style="width:158px" %)__XMLToFile__|(% style="width:79px" %) [[image:2021-04-21_12h27_09.png||height="60" width="68"]]|(% style="width:753px" %)Converts an XML file to a file format. 49 -|(% style="width:158px" %)__ExcelToXML__|(% style="width:79px" %) [[image:2021-04-21_12h31_41.png||height="63" width="66"]]|(% style="width:753px" %)Takes an Excel (XSL, xslx) file and converts it to XML format.49 +|(% style="width:158px" %)__ExcelToXML__|(% style="width:79px" %) [[image:2021-04-21_12h31_41.png||height="63" width="66"]]|(% style="width:753px" %)Takes an Excel (XSL, XSLX) file and converts it to XML format. 50 50 |(% style="width:158px" %)__XMLToExcel__|(% style="width:79px" %) [[image:2021-04-21_12h31_58.png||height="59" width="59"]]|(% style="width:753px" %)converts an XML file to its convenient Excel format. 51 51 |(% style="width:158px" %)__XMLToPdf__|(% style="width:79px" %) [[image:2021-04-21_12h34_23.png||height="64" width="63"]]|(% style="width:753px" %)Converts an XML file to PDF text format. 52 52 |(% style="width:158px" %)__PdfToXML__|(% style="width:79px" %) [[image:2021-04-21_12h34_33.png||height="56" width="64"]]|(% style="width:753px" %)Transforms a PDF file input to XML format. ... ... @@ -82,7 +82,6 @@ 82 82 |(% style="width:151px" %)__File Fix__|(% style="width:86px" %)[[image:2021-04-21_16h28_22.png]]|(% style="width:753px" %)Fixes a file by giving: its identifier column, size, and value and sets the value needed to be fixed. 83 83 |(% style="width:151px" %)__File Variable__|(% style="width:86px" %)[[image:2021-04-21_16h28_33.png]]|(% style="width:753px" %)Sets a bunch of variables in the input file. 84 84 |(% style="width:151px" %)__XML Detection__|(% style="width:86px" %)[[image:2021-04-21_16h28_38.png]]|(% style="width:753px" %)Detects XML file by a checked XPath expression. 85 -|(% style="width:151px" %)__Savoye__|(% style="width:86px" %)[[image:2021-04-21_16h28_43.png]]|(% style="width:753px" %)~*~*~*~*~*~** 86 86 |(% style="width:151px" %)__Call Scenario__|(% style="width:86px" %)[[image:2021-04-21_16h28_46.png]]|(% style="width:753px" %)Load a saved scenario and insert it in the current scenario. 87 87 88 88 == Exploitation == ... ... @@ -96,12 +96,12 @@ 96 96 |(% style="width:188px" %)__BackupBDD__|(% style="width:81px" %)[[image:2021-04-22_14h24_03.png]]|(% style="width:721px" %)Dumps database for a backup. 97 97 |(% style="width:188px" %)__PurgeTrackings__|(% style="width:81px" %)[[image:2021-04-22_14h22_22.png]]|(% style="width:721px" %)Deletes trackings older than a certain date. 98 98 |(% style="width:188px" %)__PurgeFiles__|(% style="width:81px" %)[[image:2021-04-22_14h22_30.png]]|(% style="width:721px" %)Deletes files or directories older than a certain date. 99 -|(% style="width:188px" %)__Zip__|(% style="width:81px" %) (icon)|(% style="width:721px" %)Create a zip format for input files.100 -|(% style="width:188px" %)__UnZip__|(% style="width:81px" %) (icon)|(% style="width:721px" %)Unzip the input zip file in a directory.98 +|(% style="width:188px" %)__Zip__|(% style="width:81px" %) [[image:ZipConnectors.png||height="51" width="51"]]|(% style="width:721px" %)Create a zip format for input files. 99 +|(% style="width:188px" %)__UnZip__|(% style="width:81px" %) [[image:UNZipConnectors.png||height="48" width="48"]]|(% style="width:721px" %)Unzip the input zip file in a directory. 101 101 102 102 == Timers == 103 103 104 -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 ... 105 105 106 106 Timers connectors are listed as below : 107 107 ... ... @@ -132,10 +132,67 @@ 132 132 133 133 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. 134 134 135 -= Variables = 134 += [[Variables>>doc:.Variables.WebHome]] = 136 136 136 +It means the variables that are used to describe some system or local values in iXPath App. 137 + 138 +There are 2 types of variables: 139 + 140 +* System Variables. 141 +* Local Variables. 142 + 143 +To call a certain variable named "var", we use ${} as ${var}. 144 + 137 137 == System variables == 138 138 147 +System variables define some default values in the system, and they can be often called by users. 148 + 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 + 139 139 == Local variables == 140 140 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 + 141 141 = 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 +
- UNZipConnectors.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.omoustaghfir - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.7 KB - Content
- ZipConnectors.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.omoustaghfir - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.3 KB - Content