none
Tracking using BAM

    Question

  • say in excel I mentioned Activity Name as "PurchaseOrder" (to use in TPE & API)

    in TPE -> I have to map ActivityID (default element) to Instance ID present in context properties ?

    Now in Orch using BAM APIs, in Update Activity -> I have to mention same Activity Name(PurchaseOrder) and for updating ActivityID , I have to assign Microsoft.XLANGs.Core.Service.RootService.InstanceId to it ?

    Is my understanding correct, for these two to appear in same record ?


    MBH

    Wednesday, August 28, 2013 12:43 PM

Answers

All replies

  • MHB,

    Yes your understanding is correct.


    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

    Wednesday, August 28, 2013 2:44 PM
  • If I do so, I am receiving following error

    MBH

    Wednesday, August 28, 2013 10:47 PM
  • MBH,

    Try

    System.Convert.ToString(OrchestrationName(Microsoft.XLANGs.BaseTypes.InstanceId));

    Where OrchestrationName = Your Orchestration TypeName

    Or Try

    System.Convert.ToString(Microsoft.XLANGs.BaseTypes.InstanceId);

    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

    Wednesday, August 28, 2013 10:57 PM
  • I tried both, but its throwing Illegal use of System.Convert.ToString(Microsoft.XLANGs.BaseTypes.InstanceId); in expression

    I tried both, but its throwing Illegal use of System.Convert.ToString(Microsoft.XLANGs.BaseTypes.InstanceId); in expression.


    MBH

    Wednesday, August 28, 2013 11:19 PM
  • MBH,

    My bad I wrote wrong code its

    Microsoft.XLANGs.Core.Service.RootService.InstanceId

    rather than

    Microsoft.XLANGs.BaseTypes.InstanceId


    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

    Wednesday, August 28, 2013 11:28 PM
  • It did accept, but the records in TPE and APIs in Orchestration are coming in different rows.

    MBH

    Thursday, August 29, 2013 12:00 AM
  • MBH,

    Please have a look at considerations and known issues for TPE.


    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.

    Thursday, August 29, 2013 2:45 AM