Developer forum

Forum » Integration » RE: Method and AddIn options in scheduled tasks

RE: Method and AddIn options in scheduled tasks

Marco Santos
Reply

Hello.

I have been trying to find some information on how to use the options for method and addin when editing a scheduled task (Dynamicweb 8.6.1.6), but can't find anything. Can anyone supply a link, or a small example, on how I go about using them?

It might just be that I am understanding the options incorrectly. I tried using a method by inputing the fully qualified name of a class and static method, but it did not work. Did not try anything for the addin.

Thanks.

Marco Santos.


Replies

 
Jonas Krarup Dam
Reply

Hi Marco,

In the Visual Studio templates, there is an example/template for a custom scheduled task.

the download can be found here:

http://developer.dynamicweb.com/downloads.aspx

If you are using it with Integration framework, you might want to take a look here:

http://developer.dynamicweb.com/documentation/for-developers/erp-integration-framework/integration-framework-customization/batch-integration-customization/customize-scheduled-tasks.aspx

 

I'm not sure about the "Method" one...

 

Regards, Jonas

 
Marco Santos
Reply

Hello.

Just tried creating a new addin (derived from BatchIntegrationScheduledTaskAddin) from the templates. Did not change anything, it compiles fine, but will not show up in the addin list for the integration scheduled tasks. Just to make sure we are talking about the same thing, the get to the scheduled tasks I am talking about, I am going to Management Center/Integration/Scheduled Tasks and then click on Add to create a new task, and then selecting addin and the type.

Is that what you were thinking about?

Regards,

Marco

 
Jonas Krarup Dam
Reply
This post has been marked as an answer

Hi Marco,

Scheduled tasks for integration framework are configured in the "Data Integration ERP Batch" node, under integration. This is the one that is in the templates.

If you need a general scheduled task, that isn't integration framework related (and that shows up in the "new" dialog for "scheduled tasks", you should change the baseclass for your custom scheduled task to Extensibility.ScheduledTaskAddins.BaseScheduledTaskAddIn.

Regards, Jonas

Votes for this answer: 1
 
Marco Santos
Reply

 

You must be logged in to post in the forum