Ravi Padwal (RaviP@incessant)
NIIT Technologies Limited

NIIT Technologies Limited
RaviP@incessant Member since 2015 14 posts
NIIT Technologies Limited
Posted: June 15, 2015
Last activity: September 22, 2015
Posted: 15 Jun 2015 11:14 EDT
Last activity: 22 Sep 2015 8:18 EDT

Multithreading in IAC gadget

Is multithreading supported in IAC?

My requirement:

1) IAC gadget will be used to create a work item (let's say 'BaseWorkItem')

2) This work item's screen will have a menu bar with options to create other work items.(say 'Create work1', 'create work2')

3) After I create work1 and process the assignment, I want to go back to BaseWork item to create work2.


Approaches I tried:

1) Use activity to create work item and use OpenWorkByHandle to open it.

It creates work1 but replaces the thread of BaseWork item, so I cannot go back to launch Work2

2) Use activity to create work item and then use RedirectAndRun to open it which will create new thread.

This creates work1 in new thread and I can come back to base work item to create work2.

But the issue here is it doesn't load all the details of the work item(like open assignments when review harnes is shown).

Moderation Team has archived post, This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Discussion, please write a new Discussion.