BizTalk Server General - BAM and HWS actions

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > May 2005 > BAM and HWS actions





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 BAM and HWS actions
Alexandr Zverev

2005-05-25, 5:59 pm

Hello,

I got a set of HWS actions and like to use BAM with them.
I create BAM activity and view, configure Pivot Table and export XML
definition as described in BizTalk book. Then I successfully deploy my .xls
file using bm.exe.
When I start Tracking Profile Editor and try to open Import Activity
Definition on my assembly It says: "This Orchestration cannot be mapped to
Business Activity because it begins or ends with an invalid shape". What
does it mean and how I could correct this problem?

And one more question: If I have several orchestration, how could I map
activities from all of them to single view? Is It possible?

Thank you in advance,
Alex


Derek Tan [MSFT]

2005-05-25, 5:59 pm

Hi Alex,

What does the orchestration begin and end with? Check out http://www.msdn.microsoft.com/libra...acking_ctro.asp

Regards,
Derek [MSFT]
--------------------
>From: "Alexandr Zverev" <azverev@newsgroup.nospam>
>Subject: BAM and HWS actions
>Date: Wed, 25 May 2005 17:45:18 +0400
>Lines: 18
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
>X-RFC2646: Format=Flowed; Original
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Message-ID: <eFG$#$SYFHA.2768@tk2msftngp13.phx.gbl>
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: 78.130.leased.lanck.net 62.152.78.130
>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:14138
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>Hello,
>
>I got a set of HWS actions and like to use BAM with them.
>I create BAM activity and view, configure Pivot Table and export XML
>definition as described in BizTalk book. Then I successfully deploy my .xls
>file using bm.exe.
>When I start Tracking Profile Editor and try to open Import Activity
>Definition on my assembly It says: "This Orchestration cannot be mapped to
>Business Activity because it begins or ends with an invalid shape". What
>does it mean and how I could correct this problem?
>
>And one more question: If I have several orchestration, how could I map
>activities from all of them to single view? Is It possible?
>
>Thank you in advance,
> Alex
>
>
>



--

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.

Alexandr Zverev

2005-05-26, 5:55 pm

Thank you very much for your tip!

I put group ActivateAndSendInstanceIdBack into Long Running transaction
scope and TPE is working now.

But I couldn't map values from attributed nodes of my message schema to
fields. Is it possible or I must simplify my schema to support tracking?

Scope of tracking is to calculate tasks for some roles at different process
steps. Roles are stored in format described below:
<xs:element name="ProcessInformation">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Person">
<xs:complexType>
<xs:sequence>
<xs:element name="Account" type="xs:string" />
<xs:element name="ID" type="xs:string" />
<xs:element name="Email" type="xs:string" />
</xs:sequence>
<xs:attribute name="type" type="xs:string" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>

which looks in XML as:
<ProcessInformation>
<Person type="role_1">
<Account>Account_0</Account>
<ID>ID_0</ID>
<Email>Email_0</Email>
</Person>
<Person type="role_2">
<Account>Account_0</Account>
<ID>ID_0</ID>
<Email>Email_0</Email>
</Person>
<Person type="role_3">
<Account>Account_0</Account>
<ID>ID_0</ID>
<Email>Email_0</Email>
</Person>
</ProcessInformation>

Alex


"Derek Tan [MSFT]" <derektan@online.microsoft.com> wrote in message
news:bd647MXYFHA.2184@TK2MSFTNGXA01.phx.gbl...
> Hi Alex,
>
> What does the orchestration begin and end with? Check out
> http://www.msdn.microsoft.com/libra...acking_ctro.asp
>
> Regards,
> Derek [MSFT]
> --------------------
>
>
> --
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights. Use of included script samples are subject to the terms specified
> at http://www.microsoft.com/info/cpyright.htm
>
> Note: For the benefit of the community-at-large, all responses to this
> message are best directed to the newsgroup/thread from which they
> originated.
>



Derek Tan [MSFT]

2005-05-31, 6:01 pm

Hi Alex,

You can have a loop that extracts each Person element and map that onto the activity. Your schema would have only single instance of Person element instead of multiple instances. Take a look at my blog at:
https://blogs.msdn.com/derektan/arc.../02/383993.aspx which explains how to relate activities. Without knowing your full scenario, I'm guessing that you would want an activity modelling a process and
another modelling the person info.

Thanks,
Derek [MSFT]

--------------------
>From: "Alexandr Zverev" <azverev@newsgroup.nospam>
>References: <eFG$#$SYFHA.2768@tk2msftngp13.phx.gbl> <bd647MXYFHA.2184@TK2MSFTNGXA01.phx.gbl>
>Subject: Re: BAM and HWS actions
>Date: Thu, 26 May 2005 19:27:52 +0400
>Lines: 109
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.3790.1830
>X-RFC2646: Format=Flowed; Original
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
>Message-ID: <#Qsn9dgYFHA.1040@TK2MSFTNGP10.phx.gbl>
>Newsgroups: microsoft.public.biztalk.general
>NNTP-Posting-Host: 78.130.leased.lanck.net 62.152.78.130
>Path: TK2MSFTNGXA01.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
>Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.biztalk.general:14173
>X-Tomcat-NG: microsoft.public.biztalk.general
>
>Thank you very much for your tip!
>
>I put group ActivateAndSendInstanceIdBack into Long Running transaction
>scope and TPE is working now.
>
>But I couldn't map values from attributed nodes of my message schema to
>fields. Is it possible or I must simplify my schema to support tracking?
>
>Scope of tracking is to calculate tasks for some roles at different process
>steps. Roles are stored in format described below:
><xs:element name="ProcessInformation">
> <xs:complexType>
> <xs:sequence>
> <xs:element minOccurs="0" maxOccurs="unbounded" name="Person">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="Account" type="xs:string" />
> <xs:element name="ID" type="xs:string" />
> <xs:element name="Email" type="xs:string" />
> </xs:sequence>
> <xs:attribute name="type" type="xs:string" />
> </xs:complexType>
> </xs:element>
> </xs:sequence>
> </xs:complexType>
></xs:element>
>
>which looks in XML as:
><ProcessInformation>
> <Person type="role_1">
> <Account>Account_0</Account>
> <ID>ID_0</ID>
> <Email>Email_0</Email>
> </Person>
> <Person type="role_2">
> <Account>Account_0</Account>
> <ID>ID_0</ID>
> <Email>Email_0</Email>
> </Person>
> <Person type="role_3">
> <Account>Account_0</Account>
> <ID>ID_0</ID>
> <Email>Email_0</Email>
> </Person>
></ProcessInformation>
>
>Alex
>
>
>"Derek Tan [MSFT]" <derektan@online.microsoft.com> wrote in message
>news:bd647MXYFHA.2184@TK2MSFTNGXA01.phx.gbl...
>
>
>



--

This posting is provided "AS IS" with no warranties, and confers no rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm

Note: For the benefit of the community-at-large, all responses to this message are best directed to the newsgroup/thread from which they originated.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com