Designer caching input file?

 3 Replies
 1 Subscribed to this topic
 52 Subscribed to this forum
Sort:
Author
Messages
Bob Canham
Veteran Member
Posts: 217
Veteran Member

    I'm working on a flow that imports data from a text file.  While developing, I have been working locally in the designer (IPD 10.0.4 cu19).  The strange thing I'm seeing is that it seems the designer is working off a cached copy of the file.  If I put a File Access node to read the input file at the beginning of the flow, it doesn't match the contents of the file if I open it from my local filesystem.  I just got a new laptop, but I don't remember this happening in the past with the same designer version.  Has anyone else seen this happen?

    Woozy
    Veteran Member
    Posts: 709
    Veteran Member

      Hi Bob, 

      I'm not sure I'm following your issue, but here are a couple of thoughts. Caching may or may not be your issue - I know the Infor developers LOVE cache... 

      Before you go there, are you sure you're looking at the same file that IPA is reading? I think you are, but you may want to check the log to be sure.  I sometimes forget that designer reads from & writes to a subfolder of the local IPA install folder rather than the server folder that it would use when running on the server - though from your comment I don't think that's your issue. 

      Also, if you are debugging and stop in the middle of a read loop, it may try to continue from the same spot. You may need to restart designer before it works right. This may be the solution in any case, if you are replacing the file. 

      Good luck! 

      Kelly

      Kelly Meade
      J. R. Simplot Company
      Boise, ID
      Bob Canham
      Veteran Member
      Posts: 217
      Veteran Member
        Thanks for the reply Kelly. I did check the file that the log says it is reading (absolute path on my c drive using \\ to escape the \) and if I put it in my run dialog, I get the file I think should be getting read. I did stop and start the process a bunch in the middle, however, it is still reading the old file even after restarting designer. I will try again tomorrow after I've rebooted my workstation to see if that does anything different.
        Tim Cochrane
        Veteran Member
        Posts: 154
        Veteran Member
          I've never seen the situation you're describing before, but I have gotten unexpected results because of running the flow in Designer vs on the server...but like Kelly says, I'm not sure I'm following exactly what you're describing.

          Assuming you're using the File Access node...
          I've never had to do an absolute path on my C: drive...I just have the file name as the input, Ex: LeaveExtractLawson.csv. This file is always in C:IPDesigner\\LeaveExtractLawson.csv...OTHERWISE...
          the path is either "\\\\123.456.78.999\\...\\...\\" for a remote off the Lawson server or the Lawson path, as in "bpm\attachments", if on the Lawson server.

          I seriously doubt rebooting will change anything, I would verify you're looking in the same place as the flow.

          Let us know
          Tim Cochrane - Principal LM/IPA Consultant