forked from open-rpa/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
3.11._openrpa_faq.html
254 lines (146 loc) · 14.3 KB
/
3.11._openrpa_faq.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OpenRPA - FAQ — BPA/OpenIAP Docs 1.0.5 documentation</title>
<script type="text/javascript" src="static/js/modernizr.min.js"></script>
<script type="text/javascript" id="documentation_options" data-url_root="./" src="static/documentation_options.js"></script>
<script src="static/jquery.js"></script>
<script src="static/underscore.js"></script>
<script src="static/doctools.js"></script>
<script src="static/language_data.js"></script>
<script type="text/javascript" src="static/js/theme.js"></script>
<link rel="stylesheet" href="static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="static/pygments.css" type="text/css" />
<link rel="stylesheet" href="static/styles.css" type="text/css" />
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home"> BPA/OpenIAP Docs
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<ul>
<li class="toctree-l1"><a class="reference internal" href="rpa.html">1. <strong>Introduction to RPA</strong></a></li>
<li class="toctree-l1"><a class="reference internal" href="openflow.html">2. <strong>OpenFlow</strong></a></li>
<li class="toctree-l1"><a class="reference internal" href="openrpa.html">3. <strong>OpenRPA</strong></a></li>
<li class="toctree-l1"><a class="reference internal" href="node_red.html">4. <strong>Node-RED</strong></a></li>
<li class="toctree-l1"><a class="reference internal" href="appendix_a.html">5. <strong>Appendix A</strong></a></li>
<li class="toctree-l1"><a class="reference internal" href="appendix_b.html">6. <strong>Appendix B</strong></a></li>
</ul>
<ul>
<li class="toctree-l1"><a class="reference internal" href="license.html">1. License</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">BPA/OpenIAP Docs</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html">Docs</a> »</li>
<li><strong>OpenRPA - FAQ</strong></li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="openrpa-faq">
<h1><strong>OpenRPA - FAQ</strong><a class="headerlink" href="#openrpa-faq" title="Permalink to this headline">¶</a></h1>
<div class="section" id="activities">
<h2>Activities<a class="headerlink" href="#activities" title="Permalink to this headline">¶</a></h2>
<p>Here pertain questions related to using Activities inside OpenRPA.</p>
<div class="section" id="how-to-check-that-an-element-exists">
<h3>How to check that an <code class="docutils literal notranslate"><span class="pre">Element</span></code> exists?<a class="headerlink" href="#how-to-check-that-an-element-exists" title="Permalink to this headline">¶</a></h3>
<p>First, users need to change the <code class="docutils literal notranslate"><span class="pre">MinResults</span></code> parameter of the <code class="docutils literal notranslate"><span class="pre">GetElement</span></code> Activity to <code class="docutils literal notranslate"><span class="pre">0</span></code>.</p>
<p>Then, they must set the variable for the <code class="docutils literal notranslate"><span class="pre">Elements</span></code> or <code class="docutils literal notranslate"><span class="pre">Result</span></code> parameter - depending on the <code class="docutils literal notranslate"><span class="pre">GetElement</span></code> Activity which is being used.</p>
<p>Then, they must add an <code class="docutils literal notranslate"><span class="pre">If</span></code> Activity to the outermost - or main - Sequence. If the users have defined the variable for the <code class="docutils literal notranslate"><span class="pre">Elements</span></code> or <code class="docutils literal notranslate"><span class="pre">Result</span></code> parameter as <code class="docutils literal notranslate"><span class="pre">item</span></code>, they would check against the <code class="docutils literal notranslate"><span class="pre">item.Length</span> <span class="pre">=</span> <span class="pre">0</span></code> - or <code class="docutils literal notranslate"><span class="pre">item.Length</span> <span class="pre"><></span> <span class="pre">0</span></code>, provided they would want to check for the non-existence of an <code class="docutils literal notranslate"><span class="pre">Element</span></code></p>
</div>
<div class="section" id="how-to-return-the-content-of-the-execute-script-activity">
<h3>How to return the content of the <code class="docutils literal notranslate"><span class="pre">Execute</span> <span class="pre">Script</span></code> Activity<a class="headerlink" href="#how-to-return-the-content-of-the-execute-script-activity" title="Permalink to this headline">¶</a></h3>
<p>The users can define a <code class="docutils literal notranslate"><span class="pre">Result</span></code> variable inside the parameter of same name so the last expression evaluated will be returned as a <code class="docutils literal notranslate"><span class="pre">String</span></code> object. Please refer to the Execute Script Activity for more information.</p>
</div>
<div class="section" id="how-to-change-the-email-status-and-get-the-senders-email-address-when-using-the-get-mails-activity">
<h3>How to change the email status and get the senders email address when using the Get Mails Activity?<a class="headerlink" href="#how-to-change-the-email-status-and-get-the-senders-email-address-when-using-the-get-mails-activity" title="Permalink to this headline">¶</a></h3>
<p>Users can change the <code class="docutils literal notranslate"><span class="pre">email</span> <span class="pre">status</span></code> by assining the <code class="docutils literal notranslate"><span class="pre">item.UnRead</span></code> parameter to <code class="docutils literal notranslate"><span class="pre">True</span></code> or <code class="docutils literal notranslate"><span class="pre">False</span></code>.</p>
<p>They can also fetch the <code class="docutils literal notranslate"><span class="pre">SenderEmailAddress</span></code> parameter by assigning it to a variable.</p>
</div>
<div class="section" id="is-it-possible-to-import-custom-nuget-packages">
<h3>Is it possible to import custom NuGet packages?<a class="headerlink" href="#is-it-possible-to-import-custom-nuget-packages" title="Permalink to this headline">¶</a></h3>
<p>Yes, from <a class="reference external" href="https://github.com/open-rpa/openrpa/releases/tag/1.1.1">OpenRPA v1.1.1</a> (<code class="docutils literal notranslate"><span class="pre">https://github.com/open-rpa/openrpa/releases/tag/1.1.1</span></code>) it is now possible to import custom NuGet packages into OpenRPA’s namespace.</p>
</div>
<div class="section" id="how-to-consume-the-password-which-is-stored-as-a-securestring-https-docs-microsoft-com-en-us-dotnet-api-system-security-securestring-view-netcore-3-1-inside-openflow-and-convert-it-for-use-inside-openrpa">
<h3>How to consume the password which is stored as a <a class="reference external" href="https://docs.microsoft.com/en-us/dotnet/api/system.security.securestring?view=netcore-3.1">SecureString</a> (<code class="docutils literal notranslate"><span class="pre">https://docs.microsoft.com/en-us/dotnet/api/system.security.securestring?view=netcore-3.1</span></code>) inside OpenFlow and convert it for use inside OpenRPA?<a class="headerlink" href="#how-to-consume-the-password-which-is-stored-as-a-securestring-https-docs-microsoft-com-en-us-dotnet-api-system-security-securestring-view-netcore-3-1-inside-openflow-and-convert-it-for-use-inside-openrpa" title="Permalink to this headline">¶</a></h3>
<p>Users can assign the <code class="docutils literal notranslate"><span class="pre">SecureString</span></code> captured with the <code class="docutils literal notranslate"><span class="pre">GetCredentials</span></code> Activity to a <code class="docutils literal notranslate"><span class="pre">System.Net.NetworkCredential(string.Empty,</span> <span class="pre">securePassword).Password</span></code>. Here, <code class="docutils literal notranslate"><span class="pre">string.Empty</span></code> is the variable which has been captured as the <code class="docutils literal notranslate"><span class="pre">Password</span></code> parameter inside the above-mentioned Activity.</p>
<p>Else, users acquire it by using <code class="docutils literal notranslate"><span class="pre">Unsecure</span> <span class="pre">Password</span></code> parameter. Yet this is a rather insecure method.</p>
</div>
<div class="section" id="how-to-map-an-argument-which-was-captured-from-another-workflow-inside-openrpa-with-the-invoke-openrpa-activity">
<h3>How to map an <code class="docutils literal notranslate"><span class="pre">argument</span></code> which was captured from another Workflow inside OpenRPA with the <code class="docutils literal notranslate"><span class="pre">Invoke</span> <span class="pre">OpenRPA</span></code> Activity?<a class="headerlink" href="#how-to-map-an-argument-which-was-captured-from-another-workflow-inside-openrpa-with-the-invoke-openrpa-activity" title="Permalink to this headline">¶</a></h3>
<p>Users can use the <code class="docutils literal notranslate"><span class="pre">Map</span> <span class="pre">Argument</span></code> button to map it to an argument which was previously created inside OpenRPA to store that avlue.</p>
</div>
</div>
<div class="section" id="variables-arguments">
<h2>Variables & Arguments<a class="headerlink" href="#variables-arguments" title="Permalink to this headline">¶</a></h2>
<p>Here pertain questions related on how to use Variables & Arguments inside OpenRPA.</p>
<div class="section" id="how-to-return-a-variable-or-argument-to-node-red">
<h3>How to return a variable or argument to Node-RED<a class="headerlink" href="#how-to-return-a-variable-or-argument-to-node-red" title="Permalink to this headline">¶</a></h3>
<p>Variables are enclosed to the local scope of the Workflow therefore they CAN NOT be passed into Node-RED.</p>
<p>Arguments, on the other hand, are passed as part of the <code class="docutils literal notranslate"><span class="pre">msg</span></code> object. So, for example, if the users have defined a <code class="docutils literal notranslate"><span class="pre">name</span></code> argument, they would assign <code class="docutils literal notranslate"><span class="pre">msg.payload.name</span></code> to <code class="docutils literal notranslate"><span class="pre">msg.name</span></code> by using a <code class="docutils literal notranslate"><span class="pre">function</span></code> node.</p>
<p>Users will find a handful example in the <a class="reference internal" href="openrpa.html#rest-service-integration-with-node-red"><span class="std std-ref">REST Service (integration with Node-RED)</span></a> section.</p>
</div>
</div>
<div class="section" id="selectors">
<h2>Selectors<a class="headerlink" href="#selectors" title="Permalink to this headline">¶</a></h2>
<p>Here pertain questions related to using Selectors inside OpenRPA.</p>
<div class="section" id="how-to-use-other-types-of-selectors-in-nm">
<h3>How to use other types of selectors in NM?<a class="headerlink" href="#how-to-use-other-types-of-selectors-in-nm" title="Permalink to this headline">¶</a></h3>
<p>Besides the usual <code class="docutils literal notranslate"><span class="pre">XPath</span> <span class="pre">Selector</span></code>, users can define a <code class="docutils literal notranslate"><span class="pre">CSS</span> <span class="pre">Selector</span></code> by using the <code class="docutils literal notranslate"><span class="pre">cssselector</span></code> parameter inside a <code class="docutils literal notranslate"><span class="pre">GetElement</span></code> Activity.</p>
<p>Please refer to <a class="reference internal" href="openrpa.html#using-css-selectors"><span class="std std-ref">Using CSS Selectors</span></a> for more information.</p>
</div>
</div>
</div>
</div>
</div>
<footer>
<hr/>
<div role="contentinfo">
<p>
© Copyright 2020, Thiago Pestitschek, Diego Thijssen, Tiago Bentivoglio, Paulo Veras
</p>
</div>
Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
<p>Powered by <a href="https://bpatechnologies.com/">BPA Technologies</a></p>
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
<h4>>Powered by BPA Technologies - bpatechnologies.com</h4>
</body>
</html>