Hi,
While looking in to the java APIs it seems that the method calls on the objects are also contacting the server.
eg .. WorkItem.inContainer();
or say ReadOnlyContainer.getString("firstName");
i believe that the object returned say a WorkItem object is just a handle and not an object with all the properties set. So each time i invoke a method on such an object the call is going to the workflow server. This seems to be a performance problem when i 've large number of workitems or a large datastructure.
Is my understanding correct ?
Also when i call WorkItem.inContainer() for a single user(and single workitem) it takes 50 milliseconds (say) . But if i call WorkItem.inContainer() for 10 users (single worikitem) it takes 500 milliseconds for each user.
is it an expected behaviour ?
Joined: 27 Jun 2001 Posts: 3081 Location: EmeriCon, LLC
The initial call to the object retrieves all of the "PRIMARY" attributes (see programming guide for list). The first reference to any SECONDAY attribute OR a .refresh() call on the object will get ALL of the Secondary attributes
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum