How to close a User Task on a particular date when the date is not pre defined?

  • 26 November 2019
  • 3 replies
  • 1 view

Hi,

 

I have an user activity that needs to be closed on a particular date, This closure date will be selected by the user in the Smart form of the same activity. To achieve this, can this User Task be configured using Deadline scenario or any other technique?

 

Regards,

Anas


3 replies

Good day Sheikh_Anas

 

Please see the following.

Task Step (You can use Task Step to configure when a task should expire and the what the workflow does after expiration, etc. ): https://help.k2.com/onlinehelp/k2five/userguide/5.0/default.htm#K2_Workflow_Designer/Use/Toolbox/Basic/Task/Task.htm,

Deadline tab (You can use the Deadline tab to control what happens to the task when recipients have not actioned it within a set amount of time): https://help.k2.com/onlinehelp/k2five/userguide/5.3/default.htm#K2-Workflow-Designer/Use/Toolbox/Basic/Task/TaskTabs/07Deadline/Deadline-Tab.htm,

“Expire Activity in K2 FIVE”: https://community.k2.com/t5/K2-Five/Expire-Activity-in-K2-FIVE/td-p/109612,

“How to perform Goto Activity in Deadline scenario in K2 FIVE”: https://community.k2.com/t5/K2-Five/How-to-perform-Goto-Activity-in-Deadline-scenario-in-K2-FIVE/td-p/109560,

Increase an activity’s priority and expire the task when it reaches a certain priority: https://help.k2.com/kb000024.

 

Best,

Sunrise

Badge +7

Please review below:

 

Expired the event if another completed by user

https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/Expired-the-event-if-another-completed-by-user/td-p/91900

 

Expire client event not the activity

https://community.k2.com/t5/K2-Blackpearl-Forum-Posts/Expire-client-event-not-the-activity/td-p/74483

 

Important Notes about Live Instance Migration (LIM)

https://help.k2.com/onlinehelp/k2blackpearl/DevRef/4.7/default.htm#Important_Notes.html?Highlight=sequence

 

Enjoy.

 

Hi Sheikh_Anas,

Yes, the deadline scenario will work.

Just ensure that:
1.You pass through the correct data (Date) from your form into the workflow. For instance, by creating a variable in your workflow and then pass the selected date on the form on to this variable on your "start rule" . This variable will then be dragged in the "On Date" config in your Deadline configuration panel.
2.You have configured "DEADLINE BEHAVIOR" on the Deadline configuration panel; that is, set it to perform any desired action from your actions' list.

And this should do. I think using the deadline functionallity in your workflow is in fact the most effective way to do this.

Reply