You need to sign in to do that
Don't have an account?
Aaron Persich 8
Your Flow Finished Message
Hello,
I am working with flows in our test enviorment and the flow works from a button I created. However, when I select the button to run the flow I get the below message. I currently have to hit the back button on my browser to go back to the object and then I have to refresh it to show the results. Is there a way to imilinate this message and refresh the object to show the flow results?
Thanks,
Aaron
I am working with flows in our test enviorment and the flow works from a button I created. However, when I select the button to run the flow I get the below message. I currently have to hit the back button on my browser to go back to the object and then I have to refresh it to show the results. Is there a way to imilinate this message and refresh the object to show the flow results?
Thanks,
Aaron
<script type="text/javascript">
function closeWin(){
if(window.parent){
window.parent.opener.location.href = window.parent.opener.location.href;
window.parent.close();
}
else{
window.opener.location.href = window.opener.location.href;
window.close();
}
}
function closeWindow_NoAction(){
window.close();
}
</script>
https://help.salesforce.com/HTViewHelpDoc?id=vpm_admin_onfinish.htm&language=en_US
My guess is they use Balaji link and set a finish location. So when they click finish, it goes to another VF page that closes and refreshes the parent page. If it's an old flow prior to I think 2013, there was a desktop program that allowed the programmer to do some interesting things with the flows. Sadly it's not available anymore.
Take care,
Brian
<apex:page standardController="Drawing__c">
<flow:interview name="Update_Drawing_Name_To_Each_Item">
...
</flow:interview>
<script>
self.close();
window.parent.location.href='/{!Drawing__c.Id}';
</script>
</apex:page>