Example of Calculating Variable Values

A multiple call destination system has the input variable inSfc, the output variables outNextStep and outNextStepRevision as well as the local variables locSite , locSfcRef , and locNextStep.

Enter the following on the Variables tab page:

Input Variables Table

Variable Name

Data Type

inSfc

System.String

Output Variables Table

Variable Name

Data Type

Calculation or Initial Value

Comment

outNextStep

System.String

stringsplit('locNextStep', ",", 1)

Input of calculation expression

outNextStepRevision

System.String

stringsplit('locNextStep', ",", 2)

Input of calculation expression

Local Variables Table

Variable Name

Data Type

Calculation or Initial Value

Comment

locSite

System.String

"1000"

Input of fixed value "1000"

locSfcRef

System.String

"SFCBO:" & 'locSite' & "," & 'inSfc'

Input of calculation expression

The variable is needed to call a Web service.

locNextStep

System.String

No input required

This variable receives the result of the Web service call.

In this example, the system calculates at the start of the call of the multiple call destination system the variable locSite (because it is a fixed value expression), as well as locSfcRef from the variable inSfc. The variable locNextStep gets its value from the output of the called Web service. The variables outNextStep and outNextStepRevision get their values as soon as the variable locNextStep gets its value from the Web service result.