| lokesh 2004-02-18, 7:34 pm |
| One way to do is using script functoid in mapper. Another
way is use "Rule" of Orchestration But even then it will
require little bit wsc code. To create constant go to data
tab page of orchestration and look for "constant box".
>-----Original Message-----
>I am using a orchestration diagram to do among various
>other things assign a score based on the data that has
>come in.
>i.e. Data comes into the orchestration diagram in the
>following format "<Person Age="25" state="TX"
>Salary="$30,000" status="single"></Person>"
>
>In the orchestration designer i want have a set of
>conditions
>
>If (Age > 20 and Age < 35( then
> Score = Score + 10
>
>If (State = "FL"( then
> Score = Score + 30
>
>If (Salary > 35000 and Salary < 45000) then
> Score = Score + 10
>
>if (status = "Married") then
> Score = Score + 5
>
>Is there a way in orchestration designer to declare a
>variable and then increment it? I can do it through a COM
>component or a wsc script, but do not want to add a level
>if comlexity in the orchesration diagram just to
>increment a variable.
>Any help in resolving this is greatly apreciated.
>
>- Ouaes
>.
>
|