none
Change Context property and use in correlation RRS feed

  • Question

  • If we set any context property in decoding stage,can we use it for correaltion ?

    I set the context property as follows:

     pInMsg.Context.Write("ReceivedFileName","http://schemas.microsoft.com/BizTalk/2003/file-properties","XYZ");


    Prakash

    Monday, November 24, 2014 10:21 AM

Answers

  • Try to promote the value to the ReceivedFileName property and you shall able to use the value you have assigned for correlation.

    pInMsg.Context.Promote("ReceivedFileName","http://schemas.microsoft.com/BizTalk/2003/file-properties","XYZ");


    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

    • Marked as answer by Shivay_ Monday, November 24, 2014 11:09 AM
    Monday, November 24, 2014 10:42 AM

All replies

  • Try to promote the value to the ReceivedFileName property and you shall able to use the value you have assigned for correlation.

    pInMsg.Context.Promote("ReceivedFileName","http://schemas.microsoft.com/BizTalk/2003/file-properties","XYZ");


    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

    • Marked as answer by Shivay_ Monday, November 24, 2014 11:09 AM
    Monday, November 24, 2014 10:42 AM
  • Hi Ashwin,

    Can you help me to clear my doubt on this thread:

    https://social.msdn.microsoft.com/Forums/en-US/7cb09fce-395f-4b74-b2fc-4fae81f478cd/biztalk-works-in-synchronous-mode-or-asynchronous-mode?forum=biztalkgeneral


    Prakash

    Monday, November 24, 2014 11:15 AM
  • The Sync/Async question has been answered multiple times and hasn't changed, please read the responses very carefully.  M.R.AshwinPrabhu's (correct as usual) answer will tell you the same thing.

    If you have any specific questions, please ask, but any answers on sync/async will not change.

    Monday, November 24, 2014 1:39 PM
    Moderator