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
vodnuravodnura 

Rendering a visual Flow bsed on record type ID or selection

I have a flow embed in VF page and triyng to render it based on record type selction.

--> rendered="{!Product__c.RecordType.Name=='RecordTypeName'}"'

Don't know if i am missing anything? 



Ashish_SFDCAshish_SFDC

Hi , 


See the blog below with the Sample Code, 

http://salesforceyoda.com/2014/02/25/getting-record-type-ids-in-flow-without-hardcoding/

http://buttonclickadmin.com/salesforce-visual-workflow-advanced-flows/


Also see the threads below with similar discussion, 

https://developer.salesforce.com/forums?id=906F00000009AuOIAU

http://salesforce.stackexchange.com/questions/3480/visual-workflow-create-multiple-records-based-on-dynamic-choices


Regards,

Ashish
 

Vivek Deepak11Vivek Deepak11
Hi 

You can use IF
for example  rendered = "IF( {!Product__c.RecordType.Name=='RecordTypeName'} ,true,false )"