BizTalk Scheduled Task Adapter 7.0.2 is now available for BizTalk Server 2020

It has been a while since I didn’t follow carefully all the comments or issues posted on my blog or GitHub regarding BizTalk Scheduled Task Adapter. It was not by lack of interest but instead due to my lack of free time or just because I was focused on other projects or contributions.

BizTalk Scheduled Task Adapter

Since I recently (7 days ago) publish I new version of the adapter with some further improvements and optimized it to BizTalk Server 2020. And I have a brand new environment that I need to install this adapter. I decided that it was an excellent opportunity and time to read the existing feedback and address, once and for all, all the reported issues or unexpected behaviors:

  • Using the Timespan schedule type may trigger unlimited messages;
  • Using the Timespan schedule type, if the time is set to past time, the task will not be triggered in certain cases.
  • Using the Timespan schedule type, when stopping the receive locations or stop/restart the host instances, you start to get a time drift from the original time set.

What is new?

New schedule capabilities:

  • Capability to set DateTime you want to use on the Timespan schedule type: DateTime.Now or DateTime.UtcNow
  • By adding this capability to chose between DateTime.Now or DateTime.UtcNow, it will address and solve the issues reported regarding unlimited messages being triggered if you are using a different timezone than UTC.
  • The functionality always to trigger the message at 00 seconds and respect the original time set was added again to the Timespan schedule type. The GetNextActivationTime method was improved to fix all these unexpected behaviors reported that indeed was a feature by design.  

BizTalk Scheduled Task Adapter

The BizTalk Scheduled Task Adapter is an in-process receive adapter that executes a prescribed task on a daily, weekly or monthly schedule. The adapter is configured entirely within BizTalk, all configurations are stored within the SSODB and can be exported and imported via binding files.

The schedule capabilities are similar to those available with the Windows Scheduled Task Service.

Four simple tasks are included:

  • XmlStringStreamProvider – generates a BizTalk message from a configured Xml string
  • FileStreamProvider – generates a BizTalk message from the contents of a file
  • HttpDownload – generates a BizTalk message from data downloaded from a web site
  • SQLStreamProvider – generates a BizTalk message from the contents of a SQL Query (similar to the old SQL adapter) – Since version 3.0

Custom tasks can be created. Any .NET class that implements the appropriate interface can be scheduled.

Big thanks to Pedro Almeida, my team member, that took 95% of my work and finalize this version!

Download

You can download this “new” version of the adapter in BizTalk Scheduled Task Adapter from GitHub:

Please feel free to use the adapter, and If you find any problems or bugs, please open an issue on the adapter GitHub site: https://github.com/sandroasp/BizTalk-Scheduled-Task-Adapter and help evolve this community adapter. You can also suggest new features, and I am also open to new ideas.

BizTalk Scheduled Task Adapter 7.0.2 for BizTalk Server 2020BizTalk Scheduled Task Adapter 7.0.2 for BizTalk Server 2020
GitHub

Author: Sandro Pereira

Sandro Pereira lives in Portugal and works as a consultant at DevScope. In the past years, he has been working on implementing Integration scenarios both on-premises and cloud for various clients, each with different scenarios from a technical point of view, size, and criticality, using Microsoft Azure, Microsoft BizTalk Server and different technologies like AS2, EDI, RosettaNet, SAP, TIBCO etc. He is a regular blogger, international speaker, and technical reviewer of several BizTalk books all focused on Integration. He is also the author of the book “BizTalk Mapping Patterns & Best Practices”. He has been awarded MVP since 2011 for his contributions to the integration community.

7 thoughts on “BizTalk Scheduled Task Adapter 7.0.2 is now available for BizTalk Server 2020”

  1. Thank you for the update! We are using BR2016, and the update labeling in GitHub for BT2016 is inconsistent.

    Drilling down in Releases, the 2016 version is labeler “BizTalk Scheduled Task Adapter v6.0 for BTS2016.zip V7.0 for BTS2016”

    It shows updated a few days ago.

    Does the 2016 version contain the same updates as the 2020 version?

    I removed (as best as I could) v6.x and installed v7.x, and I do not see the UTC choice in the v7.0.0.0 for 2016.

    1. Hi Jim,

      I fix the labels on GitHub. The 2016 version doesn’t have the same updates as the 2020 version. I will try to publish these change to 2016 this week

  2. is there a reason that the source isn’t available on GitHub for others to contribute and / or fork to add customizations?

  3. Hi Sandro,
    I notice with Schedule Adapter, we don’t have an option to paste the XML template message into XmlStringStreamProvider. Do you think I am missing some steps

  4. Hi Sandro,

    I see 2 messages are getting triggered when we select timespan option . tested with interval of 2 minutes and see 2 messages creating.
    Anything we can do in the configuration to avoid this?

  5. Hello Sandro!

    I’m trying to install it in a Win Server 2016 64 bits system, and I’m getting the error message “This app can’t run on your PC. To find a version for your PC, check with the software publisher”.

    Any suggestion?, Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *

BizTalk360
BizTalk Server

Over 500+ customers across
30+ countries depend on BizTalk360

Learn More
Serverless360
Azure

Manage and monitor serverless
components effortlessly

Learn More
Atomicscope
Business Users

Monitor your Business Activity in iPaaS
or Hybrid integration solutions

Learn More

Back to Top