You need to sign in to do that
Don't have an account?
Nishant Shrivastava 30
access variable value of the flow in the end of flow
Hi Everyone,
I need variable value geturl from the end of flow but I am not getting the variable value from the end of flow. Please suggest.
VF page :
<apex:page standardController="Case" extensions="GetListViewUrl">
<flow:interview name="MediaServiceListView" interview="{!TeamView}" finishLocation="{!NewListView}">
</flow:interview>
</apex:page>
Apex Controller :
public class GetListViewUrl {
Public case objAcc ;
public Flow.Interview.MediaServiceListView TeamView { get; set; }
//Constructor for Controller extension
public GetListViewUrl(ApexPages.StandardController controller){
}
public PageReference getNewListView(){
string listId;
if(TeamView!=null){
listId = Teamview.getUrl;
system.debug(listId);
}
Pagereference pg = new Pagereference('https://--uat.lightning.force.com/lightning/o/Case/list?filterName=' + listId);
pg.setRedirect(true);
return pg;
}
}
I need variable value geturl from the end of flow but I am not getting the variable value from the end of flow. Please suggest.
VF page :
<apex:page standardController="Case" extensions="GetListViewUrl">
<flow:interview name="MediaServiceListView" interview="{!TeamView}" finishLocation="{!NewListView}">
</flow:interview>
</apex:page>
Apex Controller :
public class GetListViewUrl {
Public case objAcc ;
public Flow.Interview.MediaServiceListView TeamView { get; set; }
//Constructor for Controller extension
public GetListViewUrl(ApexPages.StandardController controller){
}
public PageReference getNewListView(){
string listId;
if(TeamView!=null){
listId = Teamview.getUrl;
system.debug(listId);
}
Pagereference pg = new Pagereference('https://--uat.lightning.force.com/lightning/o/Case/list?filterName=' + listId);
pg.setRedirect(true);
return pg;
}
}
Thanks,