<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Execute process as system user</title><link>https://answers.axonivy.com/questions/735/execute-process-as-system-user</link><description>&lt;p&gt;There is a process we want to start as system user.
Target of the process is work with some tasks - therefore we can not create a specific user and reuse it.
Is there a way to log in as system user on a server?&lt;/p&gt;
&lt;p&gt;Thanks for the fish =)&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/735/execute-process-as-system-user" rel="self"></atom:link><language>en</language><lastBuildDate>Tue, 03 Jun 2014 16:15:07 -0400</lastBuildDate><item><title>Answer by Lars Tuchel</title><link>https://answers.axonivy.com/questions/735/execute-process-as-system-user/737</link><description>&lt;p&gt;You can execute a process as SYSTEM user with a trigger.&lt;/p&gt;
&lt;p&gt;&lt;img alt="alt text" src="/upfiles/executeAsSystem01.png"&gt;&lt;/p&gt;
&lt;p&gt;In the start of the process you want to execute as the SYSTEM user deactivate the request start (in the request tab) and enable the trigger start as shown below.&lt;/p&gt;
&lt;p&gt;Make sure to select SYSTEM in the &lt;em&gt;Responsible Role / User&lt;/em&gt;  select box.&lt;/p&gt;
&lt;p&gt;&lt;img alt="alt text" src="/upfiles/executeAsSystem02.png"&gt;&lt;/p&gt;
&lt;p&gt;This process can then be started with a Trigger element (&lt;em&gt;Activity &amp;gt; Trigger&lt;/em&gt;). But note that this will start the process synchronously, so you won't be able to handle results of it in the process which called it. And if you're using overrides, the &lt;code&gt;executeAsSystem&lt;/code&gt; process has to be located in the override project, otherwise the default subs and richdialogs are used in the triggered process.&lt;/p&gt;
&lt;p&gt;&lt;img alt="alt text" src="/upfiles/executeAsSystem03.png"&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lars Tuchel</dc:creator><pubDate>Tue, 03 Jun 2014 16:15:07 -0400</pubDate><guid>https://answers.axonivy.com/questions/735/execute-process-as-system-user/737</guid></item></channel></rss>