on 04-22-2009 5:32 AM
Hi
I want to implement the following logic by using the grphical mapping
If Categorycode = 1
If Surname Node exists
Move Surname to Family Name
Else
Move NA to Family Name
Endif
Else
Move NA to Family Name
Endif
For Checking the node I am using the Exists node function, However How Can I implement exists and if condition in the same mapping
Thanks for your inputs
PR
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check this........
(then)Surname----->FamilyName
CatagoryName (then)Surname--->exists>if--->
-
>Equals--->if-> (else)Constant('NA')--->FamilyName
Constant('1') (else)Constant('NA')----->FamilyName
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi PR,
You can do it as follows.
If Catagory = 1
then
Surname --> Exists --> If value = "true" (A Constant) then map Surname to Family Name
Else Map "NA" (A constant) to Family Name
else
Map "NA" to Family Name
Regards,
Madan Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try this Surname
Catergory Node -> Exists then
AND if FAMILY NAME
surnamenode -> Exists else
NA
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
<h5> Use the message mapping as given below</h5>
Surname--------- THEN
Surname---exist------------------- AND----IF------------------------FamilyName
ELSE
Categorycode---equalS--------/ constant(NA)
/
constant(1)
In the if then else standard function if the condition is true give surname to "then" and else give constant "NA"
compare Categorycode with the constant "1" using equalS std function
Here I have used AND function to checkwhether both the condition met or not(node exist as well as Categorycode equals 1)
I have tested this.Try out this.
Hope this will fullfill ur requirement
Thank You.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please be clear on the question as how can a node contains value 1.
Please elobarate your question.
Regards,
Chandra.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Pr,
Exists returns value in terms of true and false and if to return value in same format. I think its a matter of playing around . First check for node existence of node and then you can apply if else logic.
Regards
joel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.