I have a custom BatchIntegrationScheduledTaskAddIn with a datetime parameter that I need to update when the batch integration executes.
I have tried using the SetValue method, without any luck. I have also found some forum post regarding this where it was suggested to retrieve the current task, load parametersettings and save the task. I haven't been able to get this working as well.
In the attached screenshot you can see that the parameter value is not updated on the scheduled task after is has executed.
Do you have the answer of how to do this correctly?
Best regards
Espen