runMacro
Omnichannel for Customer Service offers a suite of capabilities that extend the power of Dynamics 365 Customer Service Enterprise to enable organizations to instantly connect and engage with their customers across digital messaging channels. An additional license is required to access Omnichannel for Customer Service. For more information, see the Dynamics 365 Customer Service pricing overview and Dynamics 365 Customer Service pricing plan pages.
Allows you to execute a macro that was created using Macro Designer.
Syntax
Microsoft.ProductivityMacros.runMacro(macroName);
Parameters
Parameter | Type | Required | Description |
---|---|---|---|
macroName | String | Yes | Name of the macro that is to be executed. |
Return value
Returns a promise string which is either resolved with a success message or rejected with an error message, based on execution result.
Example
Microsoft.ProductivityMacros.runMacro(macroName).then(function(success){
console.log(success)
},
function(error){
console.log(error)
});
See also
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk