Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
5 replies
Subscribers
5 subscribers
Views
2633 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
I am trying to get the active tasks of an instance using the below code. There i
Karthik
over 8 years ago
I am trying to get the active tasks of an instance using the below code. There is an active task at a process which is nested two levels from the parent process. And the below code is not capturing the active task that I am looking for. How can I get the tasks of a subprocess?
TaskSummary[] tss = (TaskSummary[]) pes.getCurrentTasksForProcess(
cddProcessId,
ProcessExecutionService.UNATTENDED_AND_ATTENDED_TASKS, 0,
Constants.COUNT_ALL, TaskSummary.SORT_BY_ASSIGNED_TIME,
Constants.SORT_ORDER_DESCENDING).getResults();
OriginalPostID-198760
OriginalPostID-198760
Discussion posts and replies are publicly visible
Parents
0
Karthik
over 8 years ago
@All, Thanks for helping me out. I could get it worked using getTasksForProcess API and iterate through the resultset.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Karthik
over 8 years ago
@All, Thanks for helping me out. I could get it worked using getTasksForProcess API and iterate through the resultset.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data