Skip to main content
Solved

User difference between GUI and Task

  • Nov 16, 2026 11:14 AM UTC
  • 2 replies
  • 20 views

Forum|alt.badge.img+1

We have a task that needs rights to a certain folder, as it “reads” a file there. Now I wanted to use the same file to fill out the parameter of said task, but I’ve noticed that the default uses a different user than the task.

So this brings me to the questions why and how can I change that?

(we’re still on gui version 2025.3.10.0, though I doubt this has anything to do with that problem)

Best answer by Phil

Hi Renee

I found a workaround, yesterday evening. Originally I used 

e x e c sp _ execute sql

but now I use 

e x e c master .. xp _ cmd shell

and then it does work. 

(sorry for the weird formatting, the website doesn’t allow me to upload the exact commands)

View original

2 replies

Renée Evertzen
Moderator
Forum|alt.badge.img+4

Hello Phil,

Unfortunately you cannot. The task, or probably a process flow, that accesses a folder is technically executed outside the application by Indicium and thus by the specified pool user. The default is a part of business logic that is executed within the application and thus by the user currently logged in. 

Without detailed knowledge on what exactly it is that you are trying to achieve it is relatively difficult for me to provide any additional guidance on how you would be able to solve your problem. Perhaps you can work with a settings table that has the required file path in it, that is used by the default to compile the task parameter that you're talking about. Or something along those lines. 

Hope that helps.

Kind regards, 

Renée


Forum|alt.badge.img+1
  • Author
  • Sidekick
  • Answer
  • Nov 18, 2026 8:52 AM UTC

Hi Renee

I found a workaround, yesterday evening. Originally I used 

e x e c sp _ execute sql

but now I use 

e x e c master .. xp _ cmd shell

and then it does work. 

(sorry for the weird formatting, the website doesn’t allow me to upload the exact commands)