Create an input variable in your web service process.
You can use this variable in your SQL activity to get the results.
The WSDL will populate this variable as input paramter of the web service operation.
From your form's dataconnection, you can pass the FormId to Web Service through this input parameter.
Hope that helps,
Thank you for replying!
I thought the answer would be something like this.
But how do I associate this input variable (an integer?) to the starting point or the first activity of the process?
Right now I've got two activities, the first increments the value in the data table, the other one reads the updated value.
Must I create a third activity in the begining, where I can associate the input variable?
Thank you very much!!
Any variable created within a process are accessible by all the acitivties.
You do not need to associate the value through additional acitivity.
e.g. you can directly use this variable value in the SQL activity to increment & get the next sequence number.
Note that you do not even need two SQL activities to perform this. A single SQL activity can execute multiple SQL Queries.
Hope that helps.