Date selected on form, assign task to user when date and time is reached.

1
0
-1

Dear Sir/Mdm,

I have a form with date and duration (time) widget. I want to know when the user set a date and time in the widget, he/she can trigger the next task to user on the date time he/she select? Can it be done?

Thanks!

:)

3 answers

1
0
-1

Hi,

Once the new date and time is entered you need to calculate the duration between the current time and the date and time entered.

Eg:
duration = enteredDateTime - Current System Datetime

This can be done in groovy script and you can assign this duration to a variable.

Now you can set a timer to trigger an event after this duration. Which will tirgger process for you.

PS. Mask as helpful tick if this solves your problem.

1
0
-1

By trigger next task, its like submitting the current task. Whats the point of your question? Do you want a dashboard to control activities?

Comments

Submitted by yunebraxkyu_1 on Fri, 10/14/2016 - 21:18

Hi !.

It is like a schedule,

the User chooses the date (date widget) and time (duration widget), and the next task will be launched with what he chose in form.

:)

Submitted by yunebraxkyu_1 on Fri, 10/14/2016 - 21:24

With the variable type date as a condition in the intermediate time, I managed to do this with the built-date with the time (yyyy / mm / dd HH: mm: ss), but I'd like to do it separately using the duration widget to set the time that the User wants.

how can I make it?

Thanks!

Submitted by mbarrantes on Fri, 10/14/2016 - 22:44

What about this idea

  1. Radication form, or process
  2. Flows to a human task assigned to the Coordinator.
  3. Using a custom form, with your custom widget, as soon as the user confirms the assignation, you use REST API to execute that task.
  4. The othe user has access to the next task

You cant change Assignation Date, but you can Reaasign a task

1
-2
-1
Notifications