Apex API to Start Replay
- 28 Jun 2021
- 1 Minute zum Lesen
- Drucken
- DunkelLicht
- pdf
Apex API to Start Replay
- Aktualisiert am 28 Jun 2021
- 1 Minute zum Lesen
- Drucken
- DunkelLicht
- pdf
The content is currently unavailable in German. You are viewing the default English version.
Artikel-Zusammenfassung
Fanden Sie diese Zusammenfassung hilfreich?
Vielen Dank für Ihr Feedback
You can use the example code below to create a Replay session using Apex API's from a Case object record. You can call this in a Flow for any event
//create the newSessionParams
screenmeet.ScreenMeetAPI.ScreenMeetSessionParams newSessionParams = new screenmeet.ScreenMeetAPI.ScreenMeetSessionParams(
'replay', //session type
'5001R00000xgLmIQAU', //parentObjectId
'case', //owner object type
UserInfo.getUserId(), //Logged in user ID
'My Support Session', //session description
UserInfo.getName() //name of currently logged in USER
);
//make the REST API call to create the session
screenmeet.ScreenMeetApi.createSession(newSessionParams);
For a full list of available ScreenMeet Apex API's, visit the Apex API Reference page.
War dieser Artikel hilfreich?