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
NikhilNikhil 

How to pass Flow name dynamically like <Flow:Interview name="!{!DynamicName}">

Hi guys!

 

Is it possible to pass Flow name dynamically like <Flow:Interview name="!{!DynamicName}">

 

Also 

 

Can we use a variable associated to flow without initiating a object of that flow in the controller.

 

<apex:page controller="ModemTroubleShootingCusto" >
<flow:interview name="TipCalculator" interview="{!myflow}">

{!TipCalculator.BillValue} is not working... how can i access this variable on page witout creating  interview="{!myflow}"
</flow:interview>
</apex:page>

 

 

Please provide some help here.

Thanks

Nikhil

Navatar_DbSupNavatar_DbSup

Hi,

           As per documentation "name" attribute of flow:interview represents as a developer name of flow’s do not think so you can represent name as dynamic. One think you can pass variable using apex:param attribute bind with flow:interview.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

NikhilNikhil

Thanks Dude!

 

I still have a query. How i can access a flow variable on vf page without creating a object of flow in controller.

 

BillValue is a variable defined in flow and i want to get the value of this variable displayed on page.


<apex:page>
<flow:interview name="TipCalculator" />

</apex:page>

 

Could you please suggest how i can access this TipCalculator.BillValue  on VF page.