<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Legal challenges of Robotic Process Automation (RPA) in administrative services</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sascha Alpers</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Christoph Becker</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maria Pieper</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Manuela Wagner</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Andreas Oberweis FZI Forschungszentrum Informatik</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Karlsruhe</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Germany</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>alpers</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>cbecker</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>pieper</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>wagner</string-name>
        </contrib>
        <contrib contrib-type="author">
          <string-name>oberweis}@fzi.de</string-name>
        </contrib>
      </contrib-group>
      <abstract>
        <p>Digitalization and automation find their way into administrative authorities. Several German laws (i.e. EGovG, OZG) oblige federal and regional authorities to make their administrative services accessible via electronic access points respectively an administrative online portal. This process is still ongoing and poses a tough challenge because various pre-existing software systems need to be either integrated or replaced in the worst-case scenario. Both options are timeconsuming and expensive. Hence, in this paper, we will present an approach to increase the degree of automation of administrative processes by using a robotic process automation (RPA) software bot combined with artificial intelligence methods. The aim of this approach is to improve the integration of different software systems, which often still have to be operated by human employees. RPA is increasingly used in this case because existing standard software does not have to be extended by new interfaces. The use of RPA increases compliance with rules and also increases information security. Furthermore, we will give a brief overview of upcoming research questions stemming from the legal perspective with regard to digitalization, automation up to autonomization of administrative tasks in Germany.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        By 2020 all authorities have to make their services electronically accessible (Sec. 2
EGovG). Furthermore, the German “Onlinezugangsgesetz” (OZG) requires all
authorities to make their services accessible for all citizens via an online access portal.
In order to do so, all administrative services need a digital citizen interface that is
integrated into a specific online portal. To generate a good citizen experience more than
just the interface of the administrative process needs to be digitalized. Thus, the term
“eGovernment” refers to the execution of processes of public decision-making and
service provision throughout the public sector (politics, government and
administration) using modern information and communication technologies [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. A
further development of this approach can be labelled as “Smart Government”
encompassing automated information gathering, automated decision-making and
automated execution of this decision [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. Implementing technological evolution in
administrative processes poses both technical and legal challenges.
      </p>
      <p>
        Current research approaches focus on improving inter-connectivity, automation and
autonomization on the basis of various technologies [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. Often administrative units use
isolated IT solutions that have grown over decades and prevent processes from
interacting with new modules. A fundamental revision of all individual modules is
time-consuming and costly. Besides, it would have to be repeated with each
technological innovation step. Therefore, efficiency can be increased by using
autonomous systems to operate interfaces that were previously managed by humans.
Administrative specialists can thus concentrate on the essential administrative tasks. In
principle, the whole administrative process could be automated, from online application
by the citizens to granting and execution by the official bodies, carried out by artificial
intelligence. Digitalization1 and automation of the public sector must, however, take
place within legal boundaries. Legal requirements differ according to country and
federal states. This paper focuses on the German perspective.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Automation Methods</title>
      <p>
        Robotic Process Automation (RPA) is a method to automate recurring activities of
screen work. A software-based non physical bot is programmed or trained to perform
repetitive tasks automatically [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. An RPA software bot can overcome the limits of
different IT applications without creating new interfaces in existing applications for
cross-application processes. Instead, an RPA uses the existing User Interfaces (UIs) of
different systems to collect data, processes them according to defined rules (e.g.
transformation of value ranges, ...), and then enters them into (other) systems using the
UIs. In other words, an RPA interacts with existing IT applications as humans would,
and is itself just another application. RPA thus functions as a new interface to legacy
systems, which in turn can be used by a wide variety of applications. This already
describes a significant advantage of RPA: It is not necessary to adapt existing
applications, the effort, e.g., for the creation of process interfaces between applications
is eliminated. In this sense, RPA is a non-invasive method of automation. This is further
strengthened by the fact that there are existing RPA solutions that can be easily trained
and adapted without the use of programming languages. An overview of existing RPA
Software agents is given by [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. Classic RPA does not contain artificial intelligence,
but processes structured data according to defined rules. However, RPA can also be
combined with artificial intelligence methods so that RPA agents can understand
natural language, interpret unstructured data or learn processes themselves.
1 We use the term Digitalization because it means more than just digitisation. For example,
scanning a filled out paper based form and work with the image or PDF is just digitisation.
However, digitalization is more, it means in the example the generation of structured data
from the paper form (e.g. each filled out form filed get its own data field and the text is
recognised using OCR).
      </p>
      <p>Legal challenges of Robotic Process Automation in administrative services 3
3</p>
    </sec>
    <sec id="sec-3">
      <title>Legal requirements and constraints for automation in administrative processes</title>
      <p>Digitalization of administrative processes underlie legal constraints and design
requirements stemming from different fields of law. In this paper German
administrative law and European data protection law should be emphasized.
3.1</p>
      <sec id="sec-3-1">
        <title>Administrative Law</title>
        <p>
          The field of activity of the administration is not limited either objectively or by the
manner in which it acts [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. Digitalization and automation can make administration
more efficient, leaving time for cases that need additional attention and reducing errors
overall. On the downside challenges like traceability, risks of subconscious behaviour
modifications (esp. nudging) and ensuring there is no unintended bias in AI systems are
yet not fully solved [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ].
        </p>
        <p>
          In this context AI can support or even replace officials. Software solutions automate
typical routine tasks. In case of automated decision making one must differentiate
between bound decisions, where automation mostly affects the verification of the
prerequisites for a decision provided by the applicant without any scope for discretion,
and decision-making forms that require individual considerations within a margin of
judgement. According to Sec. 35a VwVfG (Administrative Procedure Act) an
administrative act may be adopted entirely by automatic means, provided that this is
permitted by law and that there is neither any discretion nor any margin of assessment.
So, the complete automation of the administrative procedure is initially prohibited by
law and depends on an explicit authorization by legal regulation [
          <xref ref-type="bibr" rid="ref10 ref8 ref9">8, 9, 10</xref>
          ]. Cases of
automated decision-making are legally enabled for example in tax law by Sec. 155 para.
4 AO (German Fiscal Code), provided that there is no reason to process the individual
case by public officials. As such a legal provision is necessary to regulate automated
administrative acts, also the ban on automation of discretionary decisions can be
bypassed and therefore functions only as a warning [
          <xref ref-type="bibr" rid="ref10 ref9">9, 10</xref>
          ]. For clarification a set of
minimum requirements for designing legal provisions concerning digitalization and
automation would be preferable, which requires further research.
3.2
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>Data Protection Law</title>
        <p>
          Automated individual decision-making can pose a risk for fundamental rights.
Therefore Art. 22 GDPR grants a right not to be subject to a decision based solely on
automated processing, including profiling, which produces legal effects concerning him
or her or similarly significantly affects him or her. If such decisions are legitimized by
consent, contract or law, suitable measures to safeguard the data subject's rights and
freedoms and legitimate interests shall be implemented. As minimum standards the
right to obtain human intervention, to express his or her point of view and to contest
the decision should be considered. Both administration law and data protection law
address fully automated decision-making, disregarding potentially similar effects of
decision-making support by AI as officials may tend to rely on the results of supposedly
neutrally obtained calculation processes without verifying them properly [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
Furthermore, digitalization requires effective security requirements as confidential data
must be specially protected against access by third parties. To secure confidentiality
automated data processing by machines seem to be regarded as less interfering with
privacy rights, than notification of personal data by humans. Sec. 5 para. 2 BSIG (Act
on the German Federal Office for Information Security) allows the BSI to evaluate data
automatically and only when AI has detected an anomaly the data may be processed by
humans.
        </p>
        <p>These examples show the challenges imposed by the use of automation options in
order to improve the activities of the public sector, but there is still research necessary
until AI can reach its full potential in administration processes.
4</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Related Work</title>
      <p>
        Research regarding the digitalization and automation of administrative processes
focus on various administrative services ranging from automation of traffic signals and
traffic control to automated identification processes (easyPass). On the one hand, legal
challenges are at the scope of the research. Those challenges include questions such as
“Can discretionary decisions be automated?”. There are several research facilities
which focus on legal challenges of Smart Government, for example The Open
Government Institute Uni Freiburg [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] and the German University of Administrative
sciences Speyer [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ], the SHI Stein-Hardenberg Institute [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] and the National
eGovernment Competence Centre [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]. Since 2010 the Metropolregion Rhein-Neckar
is a model region for cooperative eGovernment [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ].
      </p>
      <p>
        On the other hand, there are still technical challenges such as “How can we assure
fairness and discriminatory freedom” from a technical point of view. IBM and
Accenture use the RPA approach for transforming administrative processes [
        <xref ref-type="bibr" rid="ref16 ref17">16, 17</xref>
        ].
They also combine RPA methods with machine learning. IBM recently released the
open source IBM AI Fairness 360 tool-kit which is supposed to support developers to
exclude bias in AI [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. It still needs to be analysed, whether this tool-kit could also be
used to ensure fairness in administrative processes.
5
      </p>
    </sec>
    <sec id="sec-5">
      <title>Conclusion</title>
      <p>RPA is a useful method for eGovernment and the automation (at least in the
expectation of many stakeholders eGoverment is not only about digitalization but also
automation). Nonetheless, there is further potential to increase the degree of automation
by using machine learning methods. This higher degree still needs to be researched with
regard to technical and legal feasibility due to the multitude of administrative processes
and services and the general legal challenges regarding AI both on regulatory and
ethical level.</p>
      <p>Legal challenges of Robotic Process Automation in administrative services 5</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <surname>Handreichung</surname>
          </string-name>
          „Datenschutzgerechtes eGovernment“,
          <source>für die Konferenz der Datenschutzbeauftragten des Bundes und der Länder</source>
          , p.
          <fpage>3</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Albrecht</surname>
            ,
            <given-names>F.C.</given-names>
          </string-name>
          <string-name>
            <surname>In Hoeren</surname>
          </string-name>
          , T.,
          <string-name>
            <surname>Sieber</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          <string-name>
            <surname>Holznagel</surname>
          </string-name>
          , B. (eds),
          <source>Handbuch MultiMedia-Recht, Part</source>
          <volume>28</volume>
          , eGovernment,
          <source>no. 4.</source>
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>Djeffal</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Leitlinien der Verwaltungsnovation und das Internet der Dinge</article-title>
          . In: Klafki,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Würkert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Winter</surname>
          </string-name>
          , T. (eds),
          <source>Digitalisierung und Recht</source>
          ,
          <year>2017</year>
          , p.
          <fpage>83</fpage>
          -
          <lpage>106</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <surname>Willcocks</surname>
            ,
            <given-names>Leslie P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mary</surname>
            <given-names>Lacity</given-names>
          </string-name>
          , and
          <string-name>
            <given-names>Andrew</given-names>
            <surname>Craig</surname>
          </string-name>
          .
          <article-title>"The IT function and robotic process automation</article-title>
          .
          <source>"</source>
          (
          <year>2015</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>Issac</surname>
            , Ruchi,
            <given-names>Riya</given-names>
          </string-name>
          <string-name>
            <surname>Muni</surname>
            , and
            <given-names>Kenali</given-names>
          </string-name>
          <string-name>
            <surname>Desai</surname>
          </string-name>
          .
          <article-title>"Delineated Analysis of Robotic Process Automation Tools</article-title>
          .
          <article-title>" 2018 Second International Conference on Advances in Electronics, Computers and Communications (ICAECC)</article-title>
          . IEEE,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>von</given-names>
            <surname>Alemann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Scheffczyk</surname>
          </string-name>
          , F. In Beck Online Commentary BeckOK/VwVfG, 42. Ed.
          <volume>1</volume>
          .1.
          <year>2019</year>
          , §
          <volume>35</volume>
          no.
          <issue>25</issue>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <surname>Hoffmann-Riem</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Verhaltenssteuerung durch Algorithmen - Eine Herausforderung für das Recht</article-title>
          .
          <source>In Archiv des öffentlichen Rechts</source>
          <year>2017</year>
          , p.
          <fpage>1</fpage>
          -
          <lpage>42</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <surname>Djeffal</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Künstliche Intelligenz in der öffentlichen Verwaltung</article-title>
          .
          <source>In NEGZ Short Study No. 3</source>
          ,
          <year>2018</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>Prell</surname>
            ,
            <given-names>L</given-names>
          </string-name>
          . In Beck Online Commentary BeckOK/VwVfG, 42. Ed.
          <volume>1</volume>
          .10.
          <year>2018</year>
          , § 35a no.
          <fpage>11</fpage>
          -
          <lpage>14</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>Stelkens</surname>
          </string-name>
          , P. in Stelkens, P.,
          <string-name>
            <surname>Bonk</surname>
            ,
            <given-names>H. J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sachs</surname>
          </string-name>
          , M. (eds), 9. Ed.
          <year>2018</year>
          , VwVfG § 35a no.
          <fpage>30</fpage>
          -
          <lpage>37</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11] https://www.zu.de/institute/togi/index.php,
          <source>last accessed</source>
          <year>2019</year>
          /07/27.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12] German University of Administrative Sciences Speyer, http://www.uni-speyer.de/de/lehrstuehle/martini/forschung.php,
          <source>last accessed</source>
          <year>2019</year>
          /07/25.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>SHI</given-names>
            <surname>Stein-Hardenberg</surname>
          </string-name>
          <string-name>
            <surname>Institute</surname>
          </string-name>
          , http://shi-institut.de/, last accessed
          <year>2019</year>
          /07/25.
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <article-title>The National eGovernment Competence Centre</article-title>
          , https://negz.org/,
          <source>last accessed</source>
          <year>2019</year>
          /07/25
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>Metropolregion</given-names>
            <surname>Rhein Neckar</surname>
          </string-name>
          , https://www.m-r-n.com/verwaltungsvereinfachung, last accessed
          <year>2019</year>
          /07/25.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16] https://www.ibm.com/de-de/industries/government/digital-reinventionworkshop,
          <source>last accessed</source>
          <year>2019</year>
          /07/25.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17] https://www.accenture.com/t00010101T000000Z__w__/de-de/_acnmedia/ PDF-54/Accenture-Kunstliche-
          <article-title>Intelligenz-RPA-OV-2017</article-title>
          .pdf,
          <source>last accessed</source>
          <year>2019</year>
          /07/25.
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18] https://www.ibm.com/blogs/research/2018/09/ai-fairness-
          <volume>360</volume>
          /, last accessed
          <year>2019</year>
          /07/25.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>