How do I know if a job runs using the JAVA API

I use this Quick start to create a process that returns all current running tasks. If you look at the code, if the task of the current status is 100 then it is a task accomplished. What is the constant of a running task?

I looked here , but it does not list a constant assimilates still running. Is the right way to go about this, or should I try something different?

This link will take you to the TaskStatusTypes javadocs.

http://livedocs.Adobe.com/LiveCycle/ES/sdkHelp/programmer/Javadoc/com/Adobe/IDP/taskmanage r/dsc/client/task/TaskManagerConstants.TaskStatusTypes.html

There are 4 State active tasks, CREATION (1) and CREATED_SAVED (2) for the active tasks that start of the process, where the process instance is not created before to have completed this task, and ATTRIBUTED (3) and ASSIGNED_SAVED (4) for the active tasks associated with a process instance.  _SAVED status means that an incremental recording of data was performed for example save to drafts of workspace.

No active tasks are COMPLETED (100), DEADLINED (101) and CLOSE (102), note that all are > = COMPLETED status, so conversely, any status< completed="" is="">

Tags: Adobe LiveCycle

Similar Questions

Maybe you are looking for