As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.
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.2This message has been edited. Last edited by: FP Mod Chuck,
iWay Datamigrator 76, iWay Service Manager 5.5, Windows server 2000,
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,
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.