• Anbu Thiagarajan 10
  • 0 Points
  • Member since 2018

  • Chatter
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
  • 4
User-added imageI want to send a bot conversation with the customer after handover to the live agent under the transcript body How can I achieve this using the Chat Rest Api  (https://developer.salesforce.com/docs/atlas.en-us.live_agent_rest.meta/live_agent_rest/live_agent_rest_request_bodies.htm)? also is there another way to achieve this functionality?
I have created a flow that is set to run in system mode (System context without sharing).
Based on the documentation, this is supposed to ignore all object permissions.

The flow I have built is meant to create a record of an object that certain profiles don't have the create permission for. I assumed that, if I run the flow in system context this wouldn't cause issues for these profiles. But it does. All profiles that don't have create permissions for that object get an error when they launch the flow. When I change the profile it works fine.

To me that sounds like the behavior of the flow is different from what the documentation describes.

Does anybody have an idea on how to handle that? I tried opening a case with SF but it is considered a development case which is not covered by our support package so I was advised to post the question here. 

Does anyone know how to create an Apex method with an output invocation mapping? Or where I can find resources regarding this?
(Error: An operation invocation must contain at least 1 output invocation mapping)

User-added image

I'm trying to have our console app work in both SFDC Classic and Lightning (it's a requirement).

I'm trying to close a VisualForce page via some JavaScript code. With Classic Console I did the following:

sforce.console.closeTab(id, callback);

There's some equivalent in Lightning here: https://developer.salesforce.com/docs/atlas.en-us.api_console.meta/api_console/sforce_api_console_lightning_closeTab.htm

But this is called from within a Lightning component. How do I do it from a VisualForce page?

There are also lots of other methods I'd like to use, but I can't see to get the 'hook' that I need.