• KAUSIK ERANKI
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
When the status is changed and ASA the user click on Save I want this pop up window to be closed automatically.
And this is a Vf page which is holding a lightning component.

Here you go, This is my Vf page, Please check this out and let me know if you need more details from my end.

<apex:page standardController="ServiceResource" >
    <apex:includeLightning />
    <div id="LcDisplayId" class="slds-modal__container"></div> 
 <script>
    // Here 'c:RR_SRStatusChange' Is Lightning Application Name
    $Lightning.use("c:RR_SRStatusChange", function() {
      /* 'LcForVf' is Lightning Component Name which we are Displaying In Vf Page 
       * syntax for create lightning component dynamically :
       * $Lightning.createComponent(String type, Object attributes, String locator, function callback) */
    $Lightning.createComponent("c:RR_SRStatusChangeComp",
    { 
        "recordId" : "{!$CurrentPage.parameters.id}"
    },
   "LcDisplayId",
    function(component) {
        
    });
 });
 </script>
</apex:page>
 

Hi,

 

When I run the flow in the desktop flow designer it works fine but when i run the same flow from SFDC UI (Flows->run) i get this error

"An unhandled fault has occurred in this flow. An unhandled fault has occurred while processing the flow. Please contact your system administrator for more information."

 

Has anyone else faced this issue. Can anyone provide some help to overcome this issue.

 

Thanks,