Member since 
    
	
		
		
		06-02-2023
	
	
	
	
	
	
	
	
	
	
	
	
	
	
			
      
                2
            
            
                Posts
            
        
                0
            
            
                Kudos Received
            
        
                0
            
            
                Solutions
            
        
			
    
	
		
		
		06-03-2023
	
		
		09:50 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 But I need to send file one by one and I have split the Content of VisitList only (only two rows S1 and S2), which has further splitted into 2 files using SplitJson but how can I process those two files one by one?     
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
			
    
	
		
		
		06-02-2023
	
		
		11:57 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
		
	
				
		
			
					
				
		
	
		
					
							 I have this data and I need to split VisitList's content into different flowfile one by one.  What should I write in JsonPath Expression so that data got split, I tried $.* but then it is considering this given data into one file only while I want to split on the basis of VisitList.  Data  [
  {
    "employer": "98765",
    "loc_id": "312",
    "topId": "Management",
    "VisitList": [
      {
        "S1": "HR",
        "S2": "Accountant"
      },
      {
        "S1": "Manager",
        "S2": "Sr. Manager"
      }
    ]
  }
]   I want to split Data into files like this 1st flowfile  [
  {
    "employer": "98765",
    "loc_id": "312",
    "topId": "Management",
    "VisitList": [
      {
        "S1": "HR",
        "S2": "Accountant"
      }
    ]
  }
]     2nd flowfile  [
  {
    "employer": "98765",
    "loc_id": "312",
    "topId": "Management",
    "VisitList": [
      {
        "S1": "Manager",
        "S2": "Sr. Manager"
      }
    ]
  }
]   I  tried putting $.* in JsonPath Expression but it didnt work the way I want. 
						
					
					... View more
				
			
			
			
			
			
			
			
			
			
		
		
			
				
						
							Labels:
						
						
		
			
	
					
			
		
	
	
	
	
				
		
	
	
- Labels:
 - 
						
							
		
			Apache NiFi