Dear Gurus,
I want to generate Mail from PCO but with some terms and condition. I am saving notification in SQL data base with required entries. But I also need to generate E Mail against each new message. my condition is if a notification with a unique counter has already send an E mail, system will not repeat sending mail for specified tags for Email not for all.
In main transaction, I have configured E mail sending and in this I have assigned child transaction for processing XML output message from PCO which update SQL server with data required.
After mail action block, I use SQL query to update digit "1" against same counter.
I have child transaction out put tag Name (string), and from this tag name, I fetch data for E mail ID either it belong to Email tag or not
if this condition true,
SQL query, to fetch data against tag by filtering parameters "TagName" and "Email" not equal to "1".
system give me output,
Here I am putting condition action block, if there is counter metting query, system give me blank, and my logic came false and I am not able to get respective result.
Kindly suggest me how to use either condition block, switch or any other one.
Thanks
Best Regards,
Muhammad Ashfaq