Changes for page 3. Variables
Last modified by Outhman Moustaghfir on 2024/01/23 13:58
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Parent
-
... ... @@ -1,1 +1,1 @@ 1 -User Guide.The iXPath BPMN.WebHome 1 +Documentation.iXPath.User Guide.The iXPath BPMN.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. omoustaghfir1 +XWiki.achmiti - Content
-
... ... @@ -1,3 +1,5 @@ 1 +{{toc/}} 2 + 1 1 = __Introduction__ = 2 2 3 3 ... ... @@ -68,8 +68,8 @@ 68 68 1**. **iXEnv**: used especially when the developper wants to switch the environment and use another scenario in another environment. It is a variable that precise the name of the new environment 69 69 1**. [[image:1649942613906-103.png]] 70 70 71 -(% class="wikigeneratedid" id="H"%)72 - Whenyouchangethe environment, make sure to verify that the variable iXSwitchEnv has the value true.73 +(% class="wikigeneratedid" %) 74 +== == 73 73 74 74 == __Local variables__ == 75 75 ... ... @@ -80,12 +80,10 @@ 80 80 81 81 82 82 {{code language="XML"}} 83 -<xsl:value-of select=" ixf:SetVar('newVar', 'var Number 1' ,'false')"></xsl:value-of>85 +<xsl:value-of select=" ixf:SetVar('newVar', 'var Number 1')"></xsl:value-of> 84 84 85 85 {{/code}} 86 86 87 -=== === 88 - 89 89 The call of this new variable in the scenario is similar to previous system variables: **${newVar}.** 90 90 91 91 To get 'newVar' inside an XSL file : ... ... @@ -95,6 +95,7 @@ 95 95 <xsl:value-of select="ixf:getVar('newVar')"></xsl:value-of> 96 96 {{/code}} 97 97 98 +(% class="wikigeneratedid" %) 98 98 = __How to call the variables? :__ = 99 99 100 100 ... ... @@ -112,7 +112,6 @@ 112 112 ===== __**1^^st^^ Example:**__ ===== 113 113 114 114 115 - 116 116 ))) 117 117 118 118 We set a simple example of a scenario to illustrate how to use variables. ... ... @@ -133,11 +133,11 @@ 133 133 * iXSession : ID session 134 134 * path : the path of BpmnFile in FileListener1. 135 135 136 + 136 136 * ((( 137 137 ===== __**2^^nd^^ Example**__ ===== 138 138 139 139 140 - 141 141 ))) 142 142 143 143 This is an example to charge the call scenario variables: ... ... @@ -148,10 +148,11 @@ 148 148 149 149 As shown in the mail body, we called 3 variables which are : 150 150 151 -* **iXEnv**: the Environment when the new scenario exists 152 -* **iXScenario**: ='**error_sc_out_trk_and_statut**'. It means that the current scenariowhere the **connector CallScenario** will be changed to "error_sc_out_trk_and_statut'" 153 -* **iXSwitchEnv**: ='**true**'. It means that the current env will be switched to "**Danone**" 151 +* **iXEnv**: the Environment when the new scenario exists 152 +* **iXScenario**: ='**error_sc_out_trk_and_statut**'. It means that the current scenariowhere the **connector CallScenario** will be changed to "error_sc_out_trk_and_statut'" 153 +* **iXSwitchEnv**: ='**true**'. It means that the current env will be switched to "**Danone**" 154 154 155 +(% class="wikigeneratedid" %) 155 155 = = 156 156 157 157 = __String Class__ =