Whats the difference between rec_pattern and rec_type

Hi Team,

When creating event , I can see rec_pattern and rec_type. The values looked mostly same but slightly different.Whats the difference between them? Which one is supposed to be stored in db?
Example:

  1. rec_pattern: “week_1___1,2,3,4,5”
  2. rec_type: “week_1___1,2,3,4,5#”

Hi @rajeswarij,

These fields are mostly the same, but the rec_pattern is also using for internal scheduler operations.

Which one is supposed to be stored in db?

You should store the rec_type field, you can find example of data for the backend by the following link:
https://docs.dhtmlx.com/scheduler/recurring_events.html#serversideintegration

Best regards,

Thanks. That clarifies.