Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
Hello,
I am trying to create a job, where I read a csv input file, and if the number of rows>1, it should run and pick the file and place into FTP location.
I have used tfileinputdelimited-->tjavarow-->tftpPut
I am stuck at tjavarow. How do I write a condition where it checks for number of rows >1. Please see the job 
 iamabhishek
		
			iamabhishek
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		You don't need tJavarow for this.
Connect tfileinputdelimited-->runif trigger-->tftpPut.
And put the condition for runIf as -
((Integer)globalMap.get("tFileInputDelimited_1_NB_LINE")) > 1
					
				
			
			
				
			
			
			
				
			
			
			
			
			
		 iamabhishek
		
			iamabhishek
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		You don't need tJavarow for this.
Connect tfileinputdelimited-->runif trigger-->tftpPut.
And put the condition for runIf as -
((Integer)globalMap.get("tFileInputDelimited_1_NB_LINE")) > 1
					
				
			
			
				
			
			
			
			
			
			
			
		 iamabhishek
		
			iamabhishek
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 iamabhishek
		
			iamabhishek
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		 
					
				
		
Thank you so much.. !!!
