BizTalk Business Activity Monitor

455 views Asked by At

I recently started with the BAM from BizTalk.

  • I created a simple orchestration.
  • I configured the BAM for BizTalk ofcourse.
  • I used excel to create a simple schema with only textfields.
  • I deployed this xml schema to the BizTalk primary import using: bm deploy-all -DefinitionFile:myxml.xml.
  • Opened the TPE and opened the deployed schema.
  • Opened the orchestration and here opened the used schema and linked the schemafields to the bamschemafields.
  • After this I applied the tracking profile.
  • I then put a file through BizTalk which uses the orchestration. The file was outputted.

If I now check in the primary import database, I can see that the file is visible in the active messages. But the completed field is set to false. And it doesn't change. Also no data is filled in, only the ActivityID and LastModified, none of the columns which i specified myself are filled, and also RecordID = null.

What am I doing wrong?

I thought I did all the necessary steps, I know it's all still pretty basic but I need to get this to work if I want to do more, right?

1

There are 1 answers

7
tomasr On BEST ANSWER

Getting BAM to work can be tricky sometimes. First, did you restart your biztalk hosts after deploying everything? That could cause issues if you didn't.

Almost the first thing I do when I run into any issues with BAM is to turn on BAM tracing and either redirect it to a file or use DbgView to check for any errors BAM might be running into.

One of the crappy things about BAM is that it will fail silently sometimes, with the only information about the error being dump on the BAM tracing, so getting familiar with it is important.