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
Rakesh31Rakesh31 

Error: unexpected token: ':' when passing Values to varibles into a flow

Hi,

 

I am trying to pass values to varibles of a flow  named 'CallReasonSelectFlow' from vf page.

I am getting this error.  unexpected token: ':' at the interview attribute in the vf page.

i will be inserting this page as a related list..

 

my vf page:

<apex:page standardController="Contact_Program__c" extensions="VisualWorkFlowController" >
  <flow:interview name="CallReasonSelectFlow" buttonLocation="bottom" interview="{!CallReasonSelectFlow}" >
     <apex:param name="SelectedProgramId" value="{!ProgramId}"/>
     <apex:param name="SelectedProgramName" value="{!ProgramName}"/>
  </flow:interview>
</apex:page>

 

Controller:


public with sharing class VisualWorkFlowController {
    public Flow.Interview.CallReasonSelectFlow CallReasonSelectFlow {get; set;}
    public Contact_Program__c contctProgObj;
    public Program__c ProgObj;
    public static String ProgramId{get;set;}
    public static String ProgramName{get;set;}
    
    
    public VisualWorkFlowController (ApexPages.StandardController controller) {
                ------------------ my code for getting values..
    }

Thanks in advance.

Vinita_SFDCVinita_SFDC

Hello,

 

Are you at WNiter'14? If yes then this is a known issue with no workaround available at present.

 

Link: https://success.salesforce.com/issues_view?id=a1p30000000T08wAAC

CloudPower1CloudPower1

Please provide If there is any workaround for this?

Vinita_SFDCVinita_SFDC

Hi,

 

Once workaround is available it will be posted at :https://success.salesforce.com/issues_view?id=a1p30000000T08wAAC