Fault links and pending business process template updates
Recently, while I was trying to fit standard fault handling mechanisms to all of the invoke activities within a business process, using IBM WebSphere Integration Developer and Process Server 7.0, I have come across a very unpleasant problem:
CWWBF0135E: Starting the business process application ‘PRIO_SklepanjePoD_1.0.0App’ failed due to pending business process template updates.
I have seen this error message before, but usually it was due to too long activity display names, and it only appeared on Linux. This time I was running Windows and I knew that added activities didn’t have long names… I had to look somewhere else, for the problem.
After a closer examination of the output console, I discovered the following message:
CWWBV3665W: The region analysis of ‘PridobivanjeObstojecePoDInKopiranjeVloge’ flow activity is failing.
This turned my attention to this generalized flow activity, show in the picture bellow.
I was aware of common rules of using this generalized flow activity that require only one initial and only one final activity, but in this case, everything seemed fine. Najdi SzP is the last activity in the flow and there are no links (apart from a fault link) that lead from it. I must also point out that validation in WebSphere Integration Designer also identified no warnings or problems. After a few silly attempts to make the problem disappear, I have come up with a solution. It was that fault link on the last activity in the flow that was causing the problems. Therefore, the solution was simple, I only added an empty activity and linked it to the last invoke, and voilà.