BizTalk Scheduled Task Adapter for BizTalk Server 2013 R2 has been updated

Posted: March 16, 2015 in BizTalk
Tags: , , , ,

Almost one month after I have released, BizTalk Scheduled Task Adapter suffered its first update in order to fix one important bug.

One of the important bug that was fixed in the previous version (5.0) was the support for timespan with more than 60 seconds, but while doing that I unintentionally create another bug.

  • The adapter was not respecting Start time property defined in the Schedule property page after restarting the Host Instance, instead it was using the Host Instance date time.

The time interval defined in the Schedule property page of the receive location must respect the Start time property defined there (and is now fixed and restored the correct behavior in this minor version)

BTS-Scheduled-tasl-adapter-5.0.4-properties

The expected behavior of the BizTalk Scheduled Task Adapter in this case is:

  • The first message will be triggered at 16:55;
  • The second at 17:00;
  • Third at 17:05… 17:10, 17:15 and so on.

However if I stop the host instance, let’s say at 17:18, and start the host instance again at 17:21, the expected behavior of the Scheduled Task Adapter is to:

  • The first message will be triggered at 17:25, because is the next 5 min interval based in start date defined in the properties, then 17:30 and so on.

 

Once again, this bug is now fixed and restored the correct behavior in this new minor version.

You can download this new version of the adapter in BizTalk Scheduled Task Adapter CodePlex project page:

V5.0.4 Change log

  • Bug fixes
    • Bug: TimeSchedule didn’t respect the start date defined in the receive location, instead it was using the host instance starting date after a restart – Solved

Release History

This adapter is available since BizTalk Server 2004.

  • Release 5.0.4: minor release for BizTalk Server 2013 R2 in March 16 2015 by Sandro Pereira: bug fixes.
  • Release 5.0: release in February 18 2015 by Sandro Pereira, this adapter was tested to work on BizTalk Server 2013 R2. Compiled in .NET Framework 4.5
  • Release 4.0: release in June 12 2012 by Sandro Pereira, this adapter was tested to work on BizTalk Server 2010. Compiled in .NET Framework 4.0
  • Release 3.0: release in Aug 10 2010 by Greg Forsythe, this adapter was tested to work on BizTalk Server 2009. Compiled in .NET Framework 2.0
  • Release 2.0: last release in Apr 20 2008 by Greg Forsythe, this adapter works with BizTalk Server 2006 and BizTalk Server 2006 R2. Compiled in .NET Framework 2.0
  • Release 1.02: last release in Apr 20 2008 by Greg Forsythe, this adapter works with BizTalk Server 2004, BizTalk Server 2006 and BizTalk Server 2006 R2. Compiled in .NET Framework 1.1

Note: The version change from V5.0 to V5.0.4 because some internal versions where made

Comments
  1. Aecio Lemos says:

    Great catch, Sandro. I have not started using the 2013 version yet and I use the Scheduled Task Adapter very often in our client’s BizTalk 2010 installation. Luckily this seems to be a bug only in the new version.🙂

  2. Miguel Carvalho says:

    Hi Sandro,

    Since it was compiled under the .NET Framework 4.5, I guess it is also compatible with BizTalk 2013. Could you please confirm this?

    Obrigado e cumprimentos
    Miguel

  3. Ashith Raj says:

    is there a way to configure File Mask or wildcards while configuring FileStreamProvider in the Scheduled Adapter like c:\Temp\*.xlsx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s