<codeclass="sig-prename descclassname">pyOpenRPA.Orchestrator.__Orchestrator__.</code><codeclass="sig-name descname">ProcessDefIntervalCall</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inDef</span></em>, <emclass="sig-param"><spanclass="n">inIntervalSecFloat</span></em>, <emclass="sig-param"><spanclass="n">inIntervalAsyncBool</span><spanclass="o">=</span><spanclass="default_value">False</span></em>, <emclass="sig-param"><spanclass="n">inDefArgList</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">inDefArgDict</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">inExecuteInNewThreadBool</span><spanclass="o">=</span><spanclass="default_value">True</span></em>, <emclass="sig-param"><spanclass="n">inLogger</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Orchestrator/__Orchestrator__.html#ProcessDefIntervalCall"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessDefIntervalCall"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyOpenRPA.Orchestrator.__Orchestrator__.</code><codeclass="sig-name descname">ProcessDefIntervalCall</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inGSettings</span></em>, <emclass="sig-param"><spanclass="n">inDef</span></em>, <emclass="sig-param"><spanclass="n">inIntervalSecFloat</span></em>, <emclass="sig-param"><spanclass="n">inIntervalAsyncBool</span><spanclass="o">=</span><spanclass="default_value">False</span></em>, <emclass="sig-param"><spanclass="n">inDefArgList</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">inDefArgDict</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">inDefArgGSettingsNameStr</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">inDefArgLoggerNameStr</span><spanclass="o">=</span><spanclass="default_value">None</span></em>, <emclass="sig-param"><spanclass="n">inExecuteInNewThreadBool</span><spanclass="o">=</span><spanclass="default_value">True</span></em>, <emclass="sig-param"><spanclass="n">inLogger</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Orchestrator/__Orchestrator__.html#ProcessDefIntervalCall"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessDefIntervalCall"title="Permalink to this definition">¶</a></dt>
<dd><p>Use this procedure if you need to run periodically some def. Set def, args, interval and enjoy :)</p>
<dd><p>Use this procedure if you need to run periodically some def. Set def, args, interval and enjoy :)</p>
<dlclass="field-list simple">
<dlclass="field-list simple">
<dtclass="field-odd">Parameters</dt>
<dtclass="field-odd">Parameters</dt>
<ddclass="field-odd"><ulclass="simple">
<ddclass="field-odd"><ulclass="simple">
<li><p><strong>inGSettings</strong>– global settings</p></li>
<li><p><strong>inDef</strong>– def link, which will be called with interval inIntervalSecFloat</p></li>
<li><p><strong>inDef</strong>– def link, which will be called with interval inIntervalSecFloat</p></li>
<li><p><strong>inIntervalSecFloat</strong>– Interval in seconds between call</p></li>
<li><p><strong>inIntervalSecFloat</strong>– Interval in seconds between call</p></li>
<li><p><strong>inIntervalAsyncBool</strong>– False - wait interval before next call after the previous iteration result; True - wait interval after previous iteration call</p></li>
<li><p><strong>inIntervalAsyncBool</strong>– False - wait interval before next call after the previous iteration result; True - wait interval after previous iteration call</p></li>
<li><p><strong>inDefArgList</strong>– List of the args in def. Default None (empty list)</p></li>
<li><p><strong>inDefArgList</strong>– List of the args in def. Default None (empty list)</p></li>
<li><p><strong>inDefArgDict</strong>– Dict of the args in def. Default None (empty dict)</p></li>
<li><p><strong>inDefArgDict</strong>– Dict of the args in def. Default None (empty dict)</p></li>
<li><p><strong>inDefArgGSettingsNameStr</strong>– Name of the GSettings arg name for def (optional)</p></li>
<li><p><strong>inDefArgLoggerNameStr</strong>– Name of the Logger arg name for def (optional). If Use - please check fill of the inLogger arg.</p></li>
<li><p><strong>inExecuteInNewThreadBool</strong>– True - create new thread for the periodic execution; False - execute in current thread. Default: True</p></li>
<li><p><strong>inExecuteInNewThreadBool</strong>– True - create new thread for the periodic execution; False - execute in current thread. Default: True</p></li>
<li><p><strong>inLogger</strong>– logging def if some case is appear</p></li>
<codeclass="sig-prename descclassname">pyOpenRPA.Orchestrator.__Orchestrator__.</code><codeclass="sig-name descname">ProcessGSettingsGet</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Orchestrator/__Orchestrator__.html#ProcessGSettingsGet"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessGSettingsGet"title="Permalink to this definition">¶</a></dt>
<dd><p>Return GSettings (singleton) from global variable</p>
<codeclass="sig-prename descclassname">pyOpenRPA.Orchestrator.__Orchestrator__.</code><codeclass="sig-name descname">ProcessIsStarted</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inProcessNameWOExeStr</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Orchestrator/__Orchestrator__.html#ProcessIsStarted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessIsStarted"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyOpenRPA.Orchestrator.__Orchestrator__.</code><codeclass="sig-name descname">ProcessIsStarted</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inProcessNameWOExeStr</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Orchestrator/__Orchestrator__.html#ProcessIsStarted"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessIsStarted"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyOpenRPA.Orchestrator.__Orchestrator__.</code><codeclass="sig-name descname">ProcessLoggerGet</code><spanclass="sig-paren">(</span><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Orchestrator/__Orchestrator__.html#ProcessLoggerGet"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessLoggerGet"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyOpenRPA.Orchestrator.__Orchestrator__.</code><codeclass="sig-name descname">ProcessStart</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inPathStr</span></em>, <emclass="sig-param"><spanclass="n">inArgList</span></em>, <emclass="sig-param"><spanclass="n">inStopProcessNameWOExeStr</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Orchestrator/__Orchestrator__.html#ProcessStart"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessStart"title="Permalink to this definition">¶</a></dt>
<codeclass="sig-prename descclassname">pyOpenRPA.Orchestrator.__Orchestrator__.</code><codeclass="sig-name descname">ProcessStart</code><spanclass="sig-paren">(</span><emclass="sig-param"><spanclass="n">inPathStr</span></em>, <emclass="sig-param"><spanclass="n">inArgList</span></em>, <emclass="sig-param"><spanclass="n">inStopProcessNameWOExeStr</span><spanclass="o">=</span><spanclass="default_value">None</span></em><spanclass="sig-paren">)</span><aclass="reference internal"href="../_modules/pyOpenRPA/Orchestrator/__Orchestrator__.html#ProcessStart"><spanclass="viewcode-link">[source]</span></a><aclass="headerlink"href="#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessStart"title="Permalink to this definition">¶</a></dt>
<spanclass="sd"> Use this procedure if you need to run periodically some def. Set def, args, interval and enjoy :)</span>
<spanclass="sd"> Use this procedure if you need to run periodically some def. Set def, args, interval and enjoy :)</span>
<spanclass="sd"> :param inGSettings: global settings</span>
<spanclass="sd"> :param inDef: def link, which will be called with interval inIntervalSecFloat</span>
<spanclass="sd"> :param inDef: def link, which will be called with interval inIntervalSecFloat</span>
<spanclass="sd"> :param inIntervalSecFloat: Interval in seconds between call</span>
<spanclass="sd"> :param inIntervalSecFloat: Interval in seconds between call</span>
<spanclass="sd"> :param inIntervalAsyncBool: False - wait interval before next call after the previous iteration result; True - wait interval after previous iteration call</span>
<spanclass="sd"> :param inIntervalAsyncBool: False - wait interval before next call after the previous iteration result; True - wait interval after previous iteration call</span>
<spanclass="sd"> :param inDefArgList: List of the args in def. Default None (empty list)</span>
<spanclass="sd"> :param inDefArgList: List of the args in def. Default None (empty list)</span>
<spanclass="sd"> :param inDefArgDict: Dict of the args in def. Default None (empty dict)</span>
<spanclass="sd"> :param inDefArgDict: Dict of the args in def. Default None (empty dict)</span>
<spanclass="sd"> :param inDefArgGSettingsNameStr: Name of the GSettings arg name for def (optional)</span>
<spanclass="sd"> :param inDefArgLoggerNameStr: Name of the Logger arg name for def (optional). If Use - please check fill of the inLogger arg.</span>
<spanclass="sd"> :param inExecuteInNewThreadBool: True - create new thread for the periodic execution; False - execute in current thread. Default: True</span>
<spanclass="sd"> :param inExecuteInNewThreadBool: True - create new thread for the periodic execution; False - execute in current thread. Default: True</span>
<spanclass="sd"> :param inLogger: logging def if some case is appear</span>
<spanclass="k">raise</span><spanclass="ne">Exception</span><spanclass="p">(</span><spanclass="sa">f</span><spanclass="s2">"!ERROR! ProcessDefIntervalCall - You need to send logger in def because your def is require logger. Raise error!"</span><spanclass="p">)</span>
<spanclass="c1"># Internal def to execute periodically</span>
<spanclass="k">if</span><spanclass="n">inGSettings</span><spanclass="p">[</span><spanclass="s2">"Logger"</span><spanclass="p">]:</span><spanclass="n">inGSettings</span><spanclass="p">[</span><spanclass="s2">"Logger"</span><spanclass="p">]</span><spanclass="o">.</span><spanclass="n">warning</span><spanclass="p">(</span><spanclass="sa">f</span><spanclass="s2">"__Orchestrator__.ProcessDefIntervalCall def was called not from processor queue - activity will be append in the processor queue."</span><spanclass="p">)</span>
<spanclass="s2">"Def"</span><spanclass="p">:</span><spanclass="n">ProcessDefIntervalCall</span><spanclass="p">,</span><spanclass="c1"># def link or def alias (look gSettings["Processor"]["AliasDefDict"])</span>
<spanclass="k">if</span><spanclass="n">inIntervalAsyncBool</span><spanclass="o">==</span><spanclass="kc">False</span><spanclass="p">:</span><spanclass="c1"># Case wait result then wait</span>
<spanclass="s2">"ArgGSettings"</span><spanclass="p">:</span><spanclass="s2">"inGSettings"</span><spanclass="p">,</span><spanclass="c1"># Name of GSettings attribute: str (ArgDict) or index (for ArgList)</span>
<spanclass="s2">"ArgLogger"</span><spanclass="p">:</span><spanclass="s2">"inLogger"</span><spanclass="c1"># Name of GSettings attribute: str (ArgDict) or index (for ArgList)</span>
<spanclass="k">if</span><spanclass="n">inLogger</span><spanclass="p">:</span><spanclass="n">inLogger</span><spanclass="o">.</span><spanclass="n">exception</span><spanclass="p">(</span><spanclass="sa">f</span><spanclass="s2">"ProcessDefIntervalCall: Interval call has been failed. Traceback is below. Code will sleep for the next call"</span><spanclass="p">)</span>
<spanclass="k">if</span><spanclass="n">inLogger</span><spanclass="p">:</span><spanclass="n">inLogger</span><spanclass="o">.</span><spanclass="n">info</span><spanclass="p">(</span><spanclass="sa">f</span><spanclass="s2">"__Orchestrator__.ProcessDefIntervalCall: Interval execution has been started. Def: </span><spanclass="si">{</span><spanclass="nb">str</span><spanclass="p">(</span><spanclass="n">inDef</span><spanclass="p">)</span><spanclass="si">}</span><spanclass="s2">"</span><spanclass="p">)</span>
<spanclass="c1"># Prepare gSettings and logger args</span>
<spanclass="k">if</span><spanclass="n">inIntervalAsyncBool</span><spanclass="o">==</span><spanclass="kc">False</span><spanclass="p">:</span><spanclass="c1"># Case wait result then wait</span>
<spanclass="sa">f</span><spanclass="s2">"ProcessDefIntervalCall: Interval call has been failed. Traceback is below. Code will sleep for the next call"</span><spanclass="p">)</span>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessDefIntervalCall">ProcessDefIntervalCall() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessDefIntervalCall">ProcessDefIntervalCall() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
</li>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessGSettingsGet">ProcessGSettingsGet() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
</li>
</li>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessIsStarted">ProcessIsStarted() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessIsStarted">ProcessIsStarted() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
</li>
</li>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessListGet">ProcessListGet() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessListGet">ProcessListGet() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
</li>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessLoggerGet">ProcessLoggerGet() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
</li>
</li>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessorActivityItemAppend">ProcessorActivityItemAppend() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessorActivityItemAppend">ProcessorActivityItemAppend() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
</li>
</li>
@ -297,10 +293,10 @@
</li>
</li>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessStart">ProcessStart() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessStart">ProcessStart() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
</li>
</li>
</ul></td>
<tdstyle="width: 33%; vertical-align: top;"><ul>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessStop">ProcessStop() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
<li><ahref="Orchestrator/02_Defs.html#pyOpenRPA.Orchestrator.__Orchestrator__.ProcessStop">ProcessStop() (in module pyOpenRPA.Orchestrator.__Orchestrator__)</a>
</li>
</li>
</ul></td>
<tdstyle="width: 33%; vertical-align: top;"><ul>
<li><ahref="Agent/02_Defs.html#pyOpenRPA.Agent.__Agent__.ProcessWOExeUpperUserListGet">ProcessWOExeUpperUserListGet() (in module pyOpenRPA.Agent.__Agent__)</a>
<li><ahref="Agent/02_Defs.html#pyOpenRPA.Agent.__Agent__.ProcessWOExeUpperUserListGet">ProcessWOExeUpperUserListGet() (in module pyOpenRPA.Agent.__Agent__)</a>
</li>
</li>
<li><ahref="Robot/02_Defs.html#pyOpenRPA.Robot.UIDesktop.PWASpecification_Get_PWAApplication">PWASpecification_Get_PWAApplication() (in module pyOpenRPA.Robot.UIDesktop)</a>
<li><ahref="Robot/02_Defs.html#pyOpenRPA.Robot.UIDesktop.PWASpecification_Get_PWAApplication">PWASpecification_Get_PWAApplication() (in module pyOpenRPA.Robot.UIDesktop)</a>