Skip to Content
0
Oct 04, 2019 at 04:14 PM

Redwood Scripting - Recurrence Pattern

87 Views

Hello,

I'm trying to schedule a process chain to repeat every 1 day.
I can see that I can do job.setRecurrencePattern(sDailyRecurrence);

At this moment, I am manually creating the "sDailyRecurrence" based on a manually created String like "01;060000;D001;20191004;X".

This works, but it's not neat.
I have searched online and in the apidocs and I cannot see any methods or fields that I can use to create this pattern.

Is this the only way I can create it?

Thanks very much.

Darryl