Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CLOSED] iSM - How to get the agent type during a process flow runtime execution
Go
New
Search
Notify
Tools
Reply
  
[CLOSED] iSM - How to get the agent type during a process flow runtime execution
 Login/Join
 
Member
posted
Hi All,

Is there a ifl, agent or specialregister I can use to get the agent type for the last executed agent in a process flow? I need something similar to the iway.lastnode and iway.priornode special registers for the agent name

I want to use a catch agent( com.ibi.agents.XDCatchAgent) in all my process flows to trap any error edges encountered during a process execution in order to route the error payload to a generic error handling process flow. I want to make the process of trapping errors in my main process flows to be as lightweight and generic as possible.

The only thing I am missing is the agent type (It would also be nice if all agents generated the same error doc/payload but thats a conversation for another day)

iSM8.0.2

This message has been edited. Last edited by: FP Mod Chuck,


iWay Datamigrator 76,
iWay Service Manager 5.5, Windows server 2000,
 
Posts: 6 | Registered: April 15, 2009Reply With QuoteReport This Post
Gold member
posted Hide Post
did you resolved it.

if not, then you can use a proper naming convention to the object would solve the problem.

i always suffix a agent/object name with that particular type. so that i can use the iway.lastnode and strip out the suffix whenever i need.

do you think it will help you.
post me if you got a better one.


WebFOCUS 8
Windows, All Outputs
 
Posts: 62 | Registered: January 23, 2018Reply With QuoteReport This Post
Member
posted Hide Post
Hi

I did not find a solution for this. I thought about the naming convention solution but it is difficult to implement in a team environment where you are not able to do in-depth code reviews


I appreciate the feedback though


iWay Datamigrator 76,
iWay Service Manager 5.5, Windows server 2000,
 
Posts: 6 | Registered: April 15, 2009Reply With QuoteReport This Post
Gold member
posted Hide Post
if you want to achieve a certain step, then you have to advice the team with the benefits and go ahead with the solution. we have done in similar environments and it worked great.


quote:
Originally posted by vinodh:
did you resolved it.

if not, then you can use a proper naming convention to the object would solve the problem.

i always suffix a agent/object name with that particular type. so that i can use the iway.lastnode and strip out the suffix whenever i need.

do you think it will help you.
post me if you got a better one.


WebFOCUS 8
Windows, All Outputs
 
Posts: 62 | Registered: January 23, 2018Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    [CLOSED] iSM - How to get the agent type during a process flow runtime execution

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.