Announcement Announcement Module
Collapse
No announcement yet.
Equivalent to "static" variables? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Equivalent to "static" variables?

    You can declare flow "instance" variables using the <var> element in a flow. These variables are created with the flow is started and belong to an instance of the flow.

    Is there a similar construct to "static" variables? Do I have the ability to define a variable that is a member of the flow itself and not an instance of the flow?

  • #2
    Is there a similar construct to "static" variables? Do I have the ability to define a variable that is a member of the flow itself and not an instance of the flow?
    What is the problem if you work with Sessions within your flow execution?

    Could you explain what are you trying to resolve?, I mean your requirement

    Comment


    • #3
      static variables

      What I was thinking about doing is initializing reference data once per flow, not every instance of the flow. If I used any "real" caching mechanism, initializing reference data by getting the information from the cache every time would alleviate the problem.

      We can do this type of thing in Spring MVC, just checking if there is a way to do it here.

      Comment

      Working...
      X