Hello,

how can I resume a process instance? E.g. a user exits a process before the process is ended. How can I display a overview of the not finished processes and let him or another user in a certain role resume at this specific point?

Thanks!

asked 03.04.2016 at 11:52

potea's gravatar image

potea
(suspended)
accept rate: 0%


The process instance (Task) will automatically be available for other users that own the same role as soon as the first user reaches a session timeout.

Startable tasks can be retrieved via the TaskQuery API. E.g. like this:

public class Wf {
    public static List<ITask> workTasks()
    {
        Query<ITask> query = TaskQuery.create().where()
                .canWorkOn(Ivy.session().getSessionUser());
        return Ivy.wf().getTaskQueryExecutor().getResults(query);
    }
}

Samples of an overview table for startable tasks can be found in the standard workflow UIs. E.g. the JsfWorkflowUi or the Portal which can be deployed into your application. See /projects directory in your Axon.ivy Engine.

link

answered 04.04.2016 at 12:26

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958
accept rate: 70%

Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

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

Tags:

×37
×13

Asked: 03.04.2016 at 11:52

Seen: 1,915 times

Last updated: 04.04.2016 at 12:26