Adrian Ber
Adrian Ber

Reputation: 21380

Catch - rethrow in Tibco

I have a Catch activity in Tibco designer. From this one I have a transition to a CallProcess and from the CallProcess two other transitions: Success with condition to a Rethrow activity and Success with no matching condition to some other activity (let's say ActivityA - could be even Null). When I tried to make a transition between ActivityA and End I get the error

These activities cannot be connected: A Rethrow activity must be preceeded at some point by a Catch activity.

Why does this happen? ActivityA and Rethrow should be on different execution paths.

Practically what I want to achieve is to have a catch that based on some condition is rethrowing the exception or ends successfully.

Upvotes: 1

Views: 927

Answers (1)

Adrian Ber
Adrian Ber

Reputation: 21380

I removed the transition to Rethrow activity, made the transition between ActivityA and End and then added the transition to Rethrow again.

I know it doesn't make sense, but this way worked.

Upvotes: 2

Related Questions