How to add custom field for Scheduled Task?

2025/12/08 2:46 AM

I don't see article about custom field or add field to Schedule task, I see it has some fields like Task Data in K12 but in XbyK don't have it, do we have any solution for that?

1.00


Environment

  • Xperience by Kentico version 30.10

  • .NET version: 8

Tags:
Xperience Administration v30.10.0 Custom modules

Answers

2025/12/08 1:26 PM

Correct, you cannot customize the fields of a scheduled task.

As of now, scheduled tasks are intended to be recurring, unmanaged processes, not events that are run manually with custom settings each time.

The same question was already asked in the Q&A discussions 👍- check it out for further guidance.

2025/12/08 3:07 PM

We extended the UI, and manage settings in a module class. This class has a reference to ScheduledTaskConfiguration. Adding just one "Data" field isn't that much of an effort, you could perhaps store json in there for more settings. Achieving a solution like below takes some more effort, where you use a ModelEditPage. There are some GIT projects from Liam Goldfinch and Trevor Fayas to use as a reference.

To response this discussion, you have to login first.