How to configure bussiness calendar and calculator due date

208 views
Skip to first unread message

Tuấn Vũ Anh

unread,
Jun 29, 2015, 12:17:44 AM6/29/15
to jbpm-...@googlegroups.com
I created file jbpm.business.calendar.properties in jbpm-console.war\WEB-INF\classes\org\jbpm\calendar.
In bussiness process in create parameter p_DueDate type String, in task (task name: task1) i create parameter DueDate type String, so i mapping p_DueDate = DueDate. i input success dueon.
And now, i have parameter  start-date, period-time (etc: day,hh,ss), i want to DueDate = start-date + period-time + holiday (get from jbpm.business.calendar.properties) in form modeler (not API).
Please help me and thanks for any help.

Maciej Swiderski

unread,
Jun 30, 2015, 5:52:05 AM6/30/15
to Tuấn Vũ Anh, jbpm-...@googlegroups.com
jbpm.business.calendar.properteis should be in jbpm-console.war/WEB-INF/classes and not in the packages you mentioned.

Maciej
--
You received this message because you are subscribed to the Google Groups "jBPM Usage" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jbpm-usage+...@googlegroups.com.
To post to this group, send email to jbpm-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jbpm-usage/cf6db16f-be3b-4423-bc4b-5551704a4afb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Tuấn Vũ Anh

unread,
Jul 2, 2015, 2:57:23 AM7/2/15
to jbpm-...@googlegroups.com, vuanhtu...@gmail.com
I created jbpm.business.calendar.properties in jbpm-console.war/WEB-INF/classes but duedate no add day onweekend and holiday in jbpm-console.war/WEB-INF/classes

Vào 16:52:05 UTC+7 Thứ Ba, ngày 30 tháng 6 năm 2015, Maciej Swiderski đã viết:

Maciej Swiderski

unread,
Jul 2, 2015, 6:01:05 AM7/2/15
to Tuấn Vũ Anh, jbpm-...@googlegroups.com
What version do you use?

and what do you configure for timers to use business calendar?

business calendar applies only to timer events (intermediate and boundary) and task deadlines (reassignment and notification)

Maciej
Message has been deleted

Daniel

unread,
Jun 9, 2023, 9:42:50 AM6/9/23
to jBPM Usage

If you're referring to calculating a due date for a pregnancy, you can use the following method:

  1. Determine the first day of your last menstrual period (LMP). This is the first day of bleeding in your last menstrual cycle.

  2. Add 280 days (or 40 weeks) to the first day of your LMP. This is the average length of a pregnancy.

For example, if the first day of your last menstrual period was January 1, you would add 280 days, which would give you a due date of October 8.

It's important to note that this is just an estimation, and the actual delivery date may vary. Your healthcare provider will typically use ultrasound measurements in the early stages of pregnancy to provide a more accurate estimate of your due date.

If you're referring to calculating a different type of due date, please provide more context so I can assist you accordingly.

Reply all
Reply to author
Forward
0 new messages