|
Home > Archive > BizTalk Server General > January 2006 > capturing repeatable object in BAM
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
capturing repeatable object in BAM
|
|
|
| Is there a way for me to capture a repeatable object in BAM?
For example my PO has a PO number and multiple line items. I would like to
capture the PO number and ALL of the line items to be captured also, but
when I drag the repeatable object (description) I get the 'GhostBusters'
icon in the tracking profile editor.
I am guessing that BAM will only track one object per message instance.
Is there a way that I can architect a method on how I can capture all of the
line items?
Thanks,
| |
| Matt Milner 2006-01-13, 9:59 pm |
| You need to setup two different BAM activity definitions. One for your PO
and one for your item activity. Then you can use BAM Relationships to
relate all of the items to your PO. In order to process the items, you'll
either need to write some expression shape(s) that call the BAM API, or use
a loop in your orchestration that processes each item so you can pull it in
through the TPE. See the Activity Relationships topic in the help for more
detail about a relationship.
Matt
"Fred" <fred@aol.com> wrote in message
news:%23Io2ATiFGHA.2652@tk2msftngp13.phx.gbl...
> Is there a way for me to capture a repeatable object in BAM?
>
> For example my PO has a PO number and multiple line items. I would like to
> capture the PO number and ALL of the line items to be captured also, but
> when I drag the repeatable object (description) I get the 'GhostBusters'
> icon in the tracking profile editor.
>
> I am guessing that BAM will only track one object per message instance.
>
> Is there a way that I can architect a method on how I can capture all of
> the line items?
>
> Thanks,
>
| |
|
|
Fred,
Go through this article
http://msdn.microsoft.com/library/d...g_bam2_ffvp.asp
see the Question :9 in my blog, it tells the same as Matt explained here,
regards
Vamsi
http://vamsibiztalk.blogspot.com/
"Matt Milner" wrote:
> You need to setup two different BAM activity definitions. One for your PO
> and one for your item activity. Then you can use BAM Relationships to
> relate all of the items to your PO. In order to process the items, you'll
> either need to write some expression shape(s) that call the BAM API, or use
> a loop in your orchestration that processes each item so you can pull it in
> through the TPE. See the Activity Relationships topic in the help for more
> detail about a relationship.
>
> Matt
>
>
> "Fred" <fred@aol.com> wrote in message
> news:%23Io2ATiFGHA.2652@tk2msftngp13.phx.gbl...
>
>
>
|
|
|
|
|