<
From version < 100.2 >
edited by Outhman Moustaghfir
on 2021/04/23 17:35
To version < 102.4 >
edited by Outhman Moustaghfir
on 2021/04/26 15:03
>
Change comment: There is no comment for this version

Summary

Details

Page properties
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 ==
... ... @@ -101,7 +101,7 @@
101 101  
102 102  == Timers ==
103 103  
104 -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 ...
105 105  
106 106  Timers connectors are listed as below :
107 107  
... ... @@ -141,9 +141,57 @@
141 141  * System Variables.
142 142  * Local Variables.
143 143  
143 +To call a certain variable named "var", we use ${} as ${var}.
144 +
144 144  == System variables ==
145 145  
147 +System variables define some default values in the system, and they can be often called by users.
146 146  
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
156 +1. For a **mail listener : **
157 +1*. iXFrom : refers to the sender of the mail.
158 +1*. iXSubject : refers to the mail subject.
159 +1. For an **AS2 listener **: 
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.
162 +
147 147  == Local variables ==
148 148  
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 +
149 149  = 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 +
This wiki is hosted and managed by iXPath
Powered by XWiki 13.3 debian