<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>scheduledFile.complete Client Message</title><link>https://community.telligent.com/community/12/w/api-documentation/71614/scheduledfile-complete-client-message</link><description>Developing on Verint Community? Use the API documentation as a reference for all supported interactions with Verint Community.</description><dc:language>en-US</dc:language><generator>14.0.0.586 14</generator><item><title>scheduledFile.complete Client Message</title><link>https://community.telligent.com/community/12/w/api-documentation/71614/scheduledfile-complete-client-message</link><pubDate>Fri, 15 Jan 2021 20:23:36 GMT</pubDate><guid isPermaLink="false">a404176c-6e51-48d2-bb25-fc2b5b43c2e5</guid><dc:creator>Ben Tiedt</dc:creator><comments>https://community.telligent.com/community/12/w/api-documentation/71614/scheduledfile-complete-client-message#comments</comments><description>Current Revision posted to API Documentation by Ben Tiedt on 01/15/2021 20:23:36&lt;br /&gt;
&lt;hr class="generated-documentation-start" style="border-width:0;" /&gt;&lt;h3&gt;scheduledFile.complete Client Message&lt;/h3&gt;
&lt;p&gt;[[messaging JavaScript API Module|Client-side message]] raised when a script file execution scheduled via &lt;code&gt;core_v2_widget.ScheduleFile()&lt;/code&gt; completes.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;scheduledFile&lt;/code&gt; client messages are typically intended to be handled automatically by the [[scheduledfile UI Component|scheduledfile UI component]].&lt;/p&gt;
&lt;p&gt;While &lt;code&gt;scheduledFile&lt;/code&gt; client messages are pushed via socket to the initiating user, it is recommended to initiate monitoring of these messages via $.telligent.evolution.scheduledFile.monitor(progressKey) to ensure their receipt via automatic AJAX fallback requests if expected.&lt;/p&gt;
&lt;h3&gt;Usage&lt;/h3&gt;
&lt;pre&gt;&lt;code&gt;messaging.subscribe(&amp;#39;scheduledFile.complete&amp;#39;, function(data) {
    // handle the event
});
&lt;/code&gt;&lt;/pre&gt;

&lt;h3&gt;Data&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;progressKey&lt;/code&gt;: Identifier matching the &lt;code&gt;ProgressKey&lt;/code&gt; passed to &lt;code&gt;core_v2_widget.ScheduleFile()&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;percentComplete&lt;/code&gt;: Percent complete&lt;/li&gt;
&lt;li&gt;&lt;code&gt;result&lt;/code&gt;: Completion result. Either a &lt;code&gt;string&lt;/code&gt; or deserialized JSON &lt;code&gt;object&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr class="generated-documentation-end" style="border-width:0;" /&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;
</description></item></channel></rss>