on 07-15-2009 2:54 PM
Hi,
I am having trouble with the switch step in pi 7.1. I couldn't fine enough information online.
The problem is how am I going to configure the Condition.
I have two containers. ResultCheck and UserIN. I am sending UserIN and getting a message, ResultCheck. In there is a field called "Result". When the field is "E" it will return an error structure if the field is "S" it will return a success structure.
Now how will I define the step?
Outcome Name
Condition
-something like !(ResultCheck.RESULT:ProcessStep = "E")
-bindings
-namespace prefix is "p1" (by default)
Thanks
Arman
In PI7.1 you first need to create a COndition Variable in the condition editor of the switch step
There will be three columns
In First Column give the condition variable name, say cond_var1
In the second Column give the type, xsd:string
In the third column map this condition variable to the field in the message using XPATH
Once this is done then use this condition variable in the condition editor section.....
So looking at your req your condition editor section should be cond_var1 = "E"
For more information on how to define a condition (or group of conditions) you can take help of the examples that are visible when you open the condition editor for the first time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
add switch step to your BPM with 2 branches. When you click on the switch step, you will get the properties of each branch. Each branch will have name , description and condition. Click on condition, you will get condition editor. there, right side in the container list, define a new element of the type "ResultCheck.RESULT". then drag it on to the editor box. there you can specify your condtion as ResultCheck.RESULT= "S" or ResultCheck.RESULT="E"
Regards,
Reyaz
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.