Dynamic expression in cycle timer event

Hello,
I want to create an email reminder event which will send email on 4th, 5th, 6th day from the start of the event.

I have tried cycle timer event with definition as R3/${dateTime().plusDays(3).toDate()}/PT1D.

But I do get errors when I use this expression.

Can I write dynamic expression in timer cycle event definition?

1 Like

@ankitwasnik7 I think it would be very helpful if you provide the error logs and also attach the bpmn file if possible.

It was my mistake. The expression should be
R3/${dateTime().plusDays(3).toString()}/P1D

Thanks.

2 Likes