Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

What is Corresponding Java API Object for Task Result Collection?

gdrocell
Level 1
Level 1

Hello,

I have been creating junit test cases for adobe livecycle services, for both short and long lived processes. (Yes, I have automated an entire complex workflow from start to finish).


There seems to be an object in the adobe livecycle java api that corresponds to the data type in the workflows (e.g. document -> java Document, User -> java User)

Is there a corresponding object available in the adobe livecycle java api for the Task Result Collection datatype?

Thanks,

0 Replies
gdrocell
Level 1
Level 1

So if I were to invoke a service expecting an input of Task Result Collection with variable name taskResultsCollection for example.  All I would need to do is send in a java Collection Object? e.g.

[CODE]

List l = new LinkedList();

l.add(taskInfo0);

l.add(taskInfo1);

Map.put("taskResultsCollection", l);

[/CODE]

Will this work?  I will try and update the post as answered if this will work!

WASIL
Employee
Employee

Which service you are trying to invoke which requires Task Result Collection ?

gdrocell
Level 1
Level 1

We have support services that we have written that are called from asychnronous services.  There are a bunch of services that we have written that take in a Task Result Collection, e.g. getTaskResultApprovers (Get the users who approved from the task result collection), getTaskResultData (Get the form xml data of a task result collection) etc.

We are writing JUnit tests that are testing these services, and making sure they are functioning as supposed to.