In my application I am having OQL script and that is converted to .CSV format, and i want to download that csv file, only if some data is present in the csv. For that i have a decision that checks whether OQL to CSV is empty or not, the decision takes that header in the csv file as a value, so the decision is not working as expected. I want the header as to be calculated as empty. Any idea would be helpful to solve this issue. Thanks in advance.
asked
Abdur Rahman
2 answers
1
If you are using Export OQL to CSV activity, then there is an option of exporting headers in that activity . you just need to make it false and the headers will not be exported.
answered
Satya Prakash Dubey
1
Why cant you write a Custom Java Action for this? Input is the file and output is a boolean.
In the java action you can read the CSV using Java POI libraries and see if the content exists in row 2 onwards.