When you what to deploy a BAM Activity and its Tkacking profile associated you have to be carefull because in this process the order you excecute them are very important. In the same way if you want to remove the activity and undeploy the traking profile is also important the order you do it.
The first time you are going to deploy your BAM solution, you Must have at least two files:
- Activity (XML)
- Tracking profile (btt).
The order to deploy correctly the solution is to do first the activity and then apply the traking profile wich correspond to that activity.
If you don’t do that you are going to get and error which says something like: There is no activity in the database that match the traking profile you are traying to apply.
In the other hand, if you want to remove something wich you have deployed before you have to do it with special care, if you don’t want be in trouble if change a file after remove it. I am going to explain that in detail.
You can remove the tracking profile without remove the activity, however that tracking profile is going to be “orphan” in the database, and then if you want to remove it you cant, and what is going to happen is that you can get confuse if yo leave the activity without a Tracking profile, then if you make any change and try to apply it you will get the error shows in the next figure: