I have a task running as SYSTEM user. This task should send a email a user containing a link to the ivy task list (of course the user must login when following the link ...).

BUT any call to ivy.html.taskListRef() is throwing an error (script step or output tab). If a call ivy.html.taskListRef() running as a valid/logged in user it works.

But how can i receive the common URL as SYSTEM user ???

Or are there any other ways to get a correct link/ref ??

asked 09.07.2014 at 17:16

Wanderhirt's gravatar image

accept rate: 100%

edited 09.07.2014 at 17:17

It is not possible to start a System Task as an ivy user. System tasks will be processed automatically by the Server Engine. In case you set a delay, the server will wait with the start of the task till the duration ends. That means there will never be a concrete waiting system task.

For further help, it would be necessary to know what error you receive.


answered 15.07.2014 at 13:24

Adrian%20Imfeld's gravatar image

Adrian Imfeld
accept rate: 77%

The problem is, that the system user not runs within an HttpRequest. So this is from the user point of view a bug, but is not possible to fix that easily. So here my workaround:

Just create the link on your own, it has to be like this: /ivy/wf/<ApplikationsName>/taskList
Code to generate the link:
"/ivy/wf/" + ivy.request.getApplication().getName() + "/taskList"


answered 16.07.2014 at 13:51

Christian%20Strebel's gravatar image

Christian St... ♦
accept rate: 88%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: 09.07.2014 at 17:16

Seen: 2,987 times

Last updated: 16.07.2014 at 13:51