Tracking Complex data using WF BAM Interceptor
Hello
Couple of months ago, in this forum I posted a question about tracking complex data type using WF BAM Interceptor. John Flanders mentioned that it is possible and I could use GetActivityProperty inside of an Update element. As I working on it right now I'm trying to understand how we could do this exactly.
Here is my exact scenario,
My workflow has a property which is a class X. Class X has a key, using this I need to go to class Y, to retrieve the data I'm interested in. Class Y is a collection of meta data (key value pair), I need to spin through the collection and
display all the data. How do we do this using WF BAM interceptor?
Thanks for the help
Umar Shareef
One way I see doing this is using a loop within the WF, and calling another activity that exposes one instance of the Name,Value pair within the collection.
Next, within the Interceptor use an OnEvent to catch when the specific called activity has closed - within the loop, and update the BAM Checkpoint.
HTH
Hi Dwight
Thanks for your response.
I was expecting there would be some custom operation in BAM interceptor, which would allow me to access data like X.Y. Looks like this is not available in the current release.
Since we own the workflow we modified the WF to extract the data from collection and make it available through public properties like KeyName1, KeyName2,… KeyName5, KeyValue1, KeyValue2…KeyValue5. Now I can extract data via IC using GetWorkflowProperty. I understand this may not be the best way to implement this, but this works for now.
Again thanks for your response.