Test Data Manager

Expand all | Collapse all

Create Javelin flow to read file text

Jump to Best Answer
  • 1.  Create Javelin flow to read file text

    Posted 06-10-2020 08:55 AM
    Hi.

    I have been working on a javelin flow but still I dont get what I want

      

    What I want is read a text file with numbers (I dont care if every number is separed by comma o separed by space line ) and in the javelin flow i want to take every number of the file into a variable to make with every number an interal process. So my problem is I dont get put in a variable the numbers of the file, example:

    File:
    0001
    0002
    0003

    I need put the firts number 0001 in a variable and make an internal process I have build, then put the 0002 in the same variable an internal process I have build, then the 0003 in the variable and do the same process


  • 2.  RE: Create Javelin flow to read file text
    Best Answer

    Posted 06-10-2020 02:39 PM
      |   view attached
    Hi Walter, this is straightforward.  I've attached a Javelin flow.   You will just need to (1) update the variable CSVFilePath, and (2) Add your process step in the Sequence embedded in the ForEach <DataRow> block after the Variable value has been assigned.

    Attachment(s)



  • 3.  RE: Create Javelin flow to read file text

    Posted 06-10-2020 03:20 PM
    Thank you so much Scott, It works really good :-)