Hi Ivy Team,

How to complete a task from REST service in Axon.Ivy ?

So, far I saw that I can do .destroy() but it doesn`t feel the right, I believe that there will be some side effects


.setActivator(ivy.session.getSecurityContext().getSystemUser()) but this way I`m loosing the history who was the assignee of the task

Any other options ?

Maybe to do HTTP call to the end-point /TaskA.iot?taskId=7

My goal is to build REST API that can manage the Axon.Ivy tasks from external system.

Best Regards, Yordan

asked 07.10.2019 at 09:40

Stelt0's gravatar image

accept rate: 12%

Yes you could just use the task (start) Url as Rest Service and call it, this will execute the process. There is no other Web Api for that at the moment.

If you have a Html Dialog then the process will stay there. So you have either do post another request like the browser would do or you have to left out the Html Dialog with an alternative before it.

To set the System User as Activator is also an option, this should automatically skip Html Dialogs


answered 08.10.2019 at 05:23

Christian%20Strebel's gravatar image

Christian St... ♦
accept rate: 88%

If I set the user to System, can you tell me what is the best way to set it back afterwards ? Otherwise in History it will be assigned to System

(09.10.2019 at 09:21) Stelt0 Stelt0's gravatar image

Hi, it is not possible to change activator after the task was finished.

(11.10.2019 at 05:06) SupportIvyTeam ♦♦ SupportIvyTeam's gravatar image
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: 07.10.2019 at 09:40

Seen: 1,482 times

Last updated: 11.10.2019 at 05:06