Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to get file names, size, row count and send it to email by using Java components or can we achieve without java components
I want to append all the files and need to send email
Have you tried reproducing the job that @vaibsVB suggested? If not, do that first. If so, replace the tJavaRow code with mine (after configuring a new context variable for Message) and see what you get.
I got the solution thanks for support
Can you tell us what you did so that others can benefit from this question in the future?
I have followed the above one @vaibsVB's model and gave your context.email(message) in tjavarow it is working
Sorry for reaching late.
@im_arod Glad part of my solution work for you.
@rhall Thanks for giving inputs.
In order to get all files from the folder, I tried another approach try this if it works for you.
And also suggest improvements also.
tFileList_3 and tFileProperties_2 settings are same as previous example.
At tIterateToFlow_1 here are the settings:
At tDenormalize_1 here are the settings:
Make note, in above Delimiter setting I purposefully kept the ", ".
And you will get desired output i.e. FileNames from the folder in list format. You can store this filename list into context and use in Mail Component.
Regards.
Hi i tried the same design but got below error could some one help me i am new to this tool. Attaching the screen shots