• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

vvOut_File causes other behaviors to do nothing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • vvOut_File causes other behaviors to do nothing

    If I use vvOut_File in a RPG Button Click program to open a PDF for the user, it seems that anything after in the "success==true"/"success==false" of that RPG behavior does not get executed. I have since worked around it by separating the vvOut_File part into another final RPG that only does that vvOut_File with the correct file path and has nothing in the "success==true"/"success==false" behavior.

    In the screen shot below, what is highlighted in red is what does not seem to trigger when vvOut_File is called in the RPG; it goes to the pdf document just fine, but the going to the previous section and changing the app variable don't happen. If I take out the vvOut_File, they do happen just fine, but of course the document won't open then.

    Tested on version Valence Framework 6.3.20260622.0 and Valence Framework 6.3.20251117.0

    image.png?

  • #2
    Ahh, yes, this makes sense. If sending back a file we no longer have a JSON response to send back to trigger the success. Technically, the success=true / success=false should not be made available if sending back a file.

    Comment


    • #3
      Okay, thanks for the explanation. That should be fine now that I'm aware of it.

      Comment

      Working...
      X