• Tom Brown 2
  • NEWBIE
  • 0 Points
  • Member since 2016

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
We are using the Salesforce Console for Service (Lightning Experience) for a new Service Cloud roll out. I have a requirement to allow the support rep to change owership to a specific queue with the single click of a button. In doing some research it seems like this should be possibe by doing the following:

- Create a custom case button
User-added image
- That calls a custom VisualForce page (snippet below)
<apex:page standardController="Case">

    <flow:interview name="Case_Update_Owner" finishLocation="/{!$CurrentPage.parameters.id}">
        <apex:param name="var_CaseId" value="{!Case.Id}"/>
        <apex:param name="var_NewOwnerId" value="00G36000002CyXy"/>
    </flow:interview>
            
</apex:page>
- Which calls a out a very simple Update Record flow to transfer ownership

User-added image

I am having the following issues with this.

1) Sometimes (but not always) the Case Feed updates with the new owner but the Case Owner field does not reflect the new owner. Seems like a refresh problem with the layout
User-added image

2) Sometimes (but not always) a second tab is opened up - so we end up with 2 tabs open for the same case.
3) When a second tab does open up and you try to close that second tab we are getting a very fatal "Sorry to Interupt" error which spits out "Technical Stuff" as described below.
User-added image
Technical Stuff:
TypeError: afterRender threw an error in 'markup://ui:tab' [a.find(...).getElement(...) is null]
throws at https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js:201:446
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:1:349
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:3:183
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:12:400
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:1:281
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:15:231
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:3:183
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:1:281
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:3:183
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:3:477
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:1:281
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:12:400
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:1:281
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:3:183
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:1:281
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:3:183
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:12:400
anonymous/a/</<.renderer.afterRender()@https://na30.lightning.force.com/auraFW/javascript/uUttwQR-pk5rKvOBHB6bAQ/aura_prod.js line 147 > Function:1:28

It feels like soemthing is wrong in my VF page which might be causing this error. 

My questions are:
1) Does anyone know what I am doing wrong in my (very simple) VF page which is leading to these errors?
2) Can I use VF to call out to a flow to change ownership like this?  Or do I need to call out to the Case controller to do the change in ownership?

Any and all enlightenment much appreciated!
 
Hello,

We are implementing Data archival pilot in our ORG. I was able to create big objects and was able to load data into those. 

Now how do I view this data? How can I create reports and list views for this object.

Thanks in advance.