Forum Discussion
Hi @Supratim ,
Ignore my earlier comment, I am able to achieve all the scenarios except (1).
and after inner join still few of the remaining records are going to email send, which should not be the case.
Hi @Supratim ,
And XML formatter after Mapper1 is not allowing file name to pass.
How to name the output file in file writer.
- Supratim5 years agoContributor III
- As i am not sure about your data set, might creating confusion. Try this option- For join - first inter change input0 (38) to input 1(csv parse ) and use left outer / outer join ,also uncheck unmatch error view option. Then can use router to determine you found the correct lookup data or not. If found then save in file else send mail.
- For file name , creat a child pipeline with xml parser and file write (also remove these from parent)Add one pipeline param (filename ) in child pipeline and use that in file write. Call this child pipeline using pipeline execute.
Thanks,
Supratim
(+91)923-263-3466This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
- Sahil5 years agoContributor
Hi @Supratim ,
I will try it, How to validate input xml after reading it at the starting and sending a mail if it is invalid.- Supratim5 years agoContributor III
using xsd in xml parser snap can validate your input xml. Make sure to open error view of xml parser to capture error message.
Thanks,
Supratim
(+91)923-263-3466This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
- Sahil5 years agoContributor
Hi @Supratim ,
For child pipeline, it is showing error:-
Failure: Snap is not connected to any upstream source, Reason: Snap failed unexpectedly and did not provide any reason- Supratim5 years agoContributor III
That’s fine , when you call child pipeline from parent will not get error
Thanks,
Supratim
(+91)923-263-3466This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.