on 08-13-2010 10:04 AM
I have three source structure like below:
Structure 1:
Student Number Class
001 5
002 6
003 5
004 7
Structure 2:
Student Number Roll Number
001 7766
002 7654
003 8767
004 8876
Structure 3:
Roll Number Pass/Fail
7766 pass
7654 fail
8767 pass
8876 fail
Target structure is our Mail
I have to send a mail for success with grouping of class and only one mail for failure for all. Like for this case two class 5 students got pass so there will be only one mail for pass and only one mail for failure with class 6 and 7.
Can u pls help me?
How can I trigger the same structure multiple times.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
There's multiple solutions to this, the simplest being just adding a second receiver in the Interface Determination.
Make two Operation Mappings, one that makes the mail for passes and one that makes the mail for fails.
Now add a second inbound interface to the Interface Determination.
Optionally if you want to make it nicer looking, add a condition so that you will only trigger each interface if one exists. You can by making two conditions to check on. One that checks if <node> == 'pass' and the second where you check if <parentnode> EX.
This will translate to: Execute this Operation Mapping, if a pass node exists. The same can ofc be applied to fails.
Kr,
Frederik-Jan.
Hi,
Thanks for your mail.
There could be multiple mail for success also. If the results are like below:
Students Class Fail/Pass
001 5 Pass
002 6 Pass
003 5 Pass
004 7 Pass
005 7 Fail
For this case there would be 3 sucess mail (one for class 5,one for 6 and another for 7) and one mail for failure.
Can you help?
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.