function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Kim Mikhail CabelaKim Mikhail Cabela 

Passing Assignment element from visual workflow to visualforce page

Hello Guys,

i have followed this document https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_flows_getting_values.htm on passing the value from the visual workflow unto the vf page. But the variable value is not passed real time. I have subflows before every assignment element. With the behavior of Assignment Element 1 VarA -> Subflow1 - Assignment Element 2 VarB - Subflow2 - Assignment Element 3 VarC.
whenever the next subflow is triggered instead of getting Assignment Element 2 VarB on Subflow 2 i am getting Assignment Element 1 VarA .

Is this related to flow caching the variables? 

Thank you in advance.