CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums



Zone: > NEWSGROUP > IBM Software > ibm.software.websphere.mqworkflow Tags:
Item Type: Date Entered: 7/27/2007 2:25:15 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 188 Favorited: 0 Favorite
Can Reply:  Yes Members Can Edit: No Online: Yes
2 Items, 1 Pages |< << Go >> >|
<shilpaagarwal@
NewsGroup User
Activity implemenation.7/27/2007 2:25:15 PM
Reply

0

When in the activity implementation I want to reaad tha data containter from the previous activity.
When I do that with the following code

Agent agent = new Agent( );
agent.setLocator( Agent.LOC_LOCATOR );
agent.setName( "LOCAL" );
ExecutionAgent pea = agent.getExecutionAgent( );

Here I get pea as null.so I am not able to proceed.

Could you please let me know why pea is null here?

<John.McDonald@
NewsGroup User
Re: Activity implemenation.7/27/2007 4:38:44 PM
Reply

0

Generally speaking, an Activity Implementation is not expected to look at the previous container, it only has access to its own container. However, if this is something that absolutely must be done, you can do so by using theInstance Monitor object.


Regards

John McDonald
EmeriCon, LLC
2 Items, 1 Pages |< << Go >> >|



Free Download:






   
  Privacy | Contact Us
All Times Are GMT