{"id":82721,"date":"2021-10-07T17:34:21","date_gmt":"2021-10-07T08:34:21","guid":{"rendered":"https:\/\/support.questetra.com\/?p=82721"},"modified":"2026-04-14T15:19:16","modified_gmt":"2026-04-14T06:19:16","slug":"service-task-calculation-datetime","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/developer-blog\/service-task-calculation-datetime\/","title":{"rendered":"Let\u2019s Set a Deadline"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"58\" data-attachment-id=\"113114\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/first-questetra-bpm-suite-step1\/attachment\/basic-banner-new-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/02\/basic-banner-new-en.png?fit=1200%2C68&amp;ssl=1\" data-orig-size=\"1200,68\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"basic-banner-new-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/02\/basic-banner-new-en.png?fit=1024%2C58&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/02\/basic-banner-new-en-1024x58.png?resize=1024%2C58&#038;ssl=1\" alt=\"\" class=\"wp-image-113114\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/02\/basic-banner-new-en.png?resize=1024%2C58&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/02\/basic-banner-new-en.png?resize=600%2C34&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/02\/basic-banner-new-en.png?resize=768%2C44&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/02\/basic-banner-new-en.png?w=1200&amp;ssl=1 1200w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<div style=\"height:50px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">When creating a workflow App you can set the date and time a Task will occur and the deadline date. For example, consider a business trip request; it may be a little inconvenient if the Task \u201cReport the content of the business trip\u201d arrives immediately after the business trip request is approved.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">There are still a few days until my business trip, will the notification of the Content Report Task stay in My Tasks until then?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You may also want a deadline for submitting business trip reports. You can tell employees by group chat, email, or verbally that they should submit the report by a certain date, but that\u2019s not very efficient. If you set a deadline for the task itself Questetra BPM Suite will automatically manage the deadline. In this tutorial, we will create an App that handles a series of workflows related to business trips by using <strong>Timer Intermediate Events<\/strong> and deadlines for <strong>Update Data<\/strong> and <strong>Human Tasks<\/strong>. By designing an App using these functions effectively, you can control the creation of tasks and their deadlines according to a schedule.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"286\" data-attachment-id=\"147667\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/service-task-calculation-datetime\/attachment\/calculation-datetime-fow-en-14-21\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow-en-14.21.png?fit=1074%2C300&amp;ssl=1\" data-orig-size=\"1074,300\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"calculation-datetime-fow-en-14.21\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow-en-14.21.png?fit=1024%2C286&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow-en-14.21.png?resize=1024%2C286&#038;ssl=1\" alt=\"\" class=\"wp-image-147667\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow-en-14.21.png?resize=1024%2C286&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow-en-14.21.png?resize=600%2C168&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow-en-14.21.png?resize=768%2C215&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow-en-14.21.png?w=1074&amp;ssl=1 1074w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">However, this time we will focus on how to control the progress of tokens according to the date and time, so we will just create a simple Travel Request\/Report App. When actually using it for business it will be necessary to devise conditional branching on the workflow diagram, and to configure the User settings in the Swimlanes.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Advance Preparation<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To create the App please refer to the Travel Request App described in the <a href=\"https:\/\/support.questetra.com\/en\/get-started\/\">Get Started<\/a> guide. Create a new App in accordance with the contents of <a href=\"https:\/\/support.questetra.com\/en\/developer-blog\/first-questetra-bpm-suite-step2\/\">chapter 2<\/a> and <a href=\"https:\/\/support.questetra.com\/en\/developer-blog\/first-questetra-bpm-suite-step3\/\">chapter 3<\/a> up to the section \u201cSettings related to input values\u201d. <a href=\"https:\/\/support.questetra.com\/en\/developer-blog\/first-questetra-bpm-suite-step1\/\">Chapters 1<\/a> and 2 are almost independent in terms of contents, but the User \/ Organization registration information prepared in chapter 1 is also used in chapter 2 and thereafter. For Users and Organizations, read as appropriate according to your environment, or prepare new ones by reading chapter 1.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Workflow Diagram<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Edit the App you created so that it looks like the diagram below. The round icon labelled \u201cBusiness Trip Start\u201d is the Timer Intermediate Event. You can find this in the palette of Intermediate Events.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"320\" height=\"126\" data-attachment-id=\"147670\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/service-task-calculation-datetime\/attachment\/calculation-datetime-pallet-ja-1\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-pallet-ja-1.png?fit=320%2C126&amp;ssl=1\" data-orig-size=\"320,126\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"calculation-datetime-pallet-ja-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-pallet-ja-1.png?fit=320%2C126&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-pallet-ja-1.png?resize=320%2C126&#038;ssl=1\" alt=\"\" class=\"wp-image-147670\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"906\" height=\"287\" data-attachment-id=\"147672\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/service-task-calculation-datetime\/attachment\/calculation-datetime-fow1-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow1-en.png?fit=906%2C287&amp;ssl=1\" data-orig-size=\"906,287\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"calculation-datetime-fow1-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow1-en.png?fit=906%2C287&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow1-en.png?resize=906%2C287&#038;ssl=1\" alt=\"\" class=\"wp-image-147672\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow1-en.png?w=906&amp;ssl=1 906w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow1-en.png?resize=600%2C190&amp;ssl=1 600w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-fow1-en.png?resize=768%2C243&amp;ssl=1 768w\" sizes=\"auto, (max-width: 906px) 100vw, 906px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">In order to make the App we require it is necessary to set the Human Tasks, so please set the App up like this for the time being. We will touch on the Confirmation Task branch later.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Data Items<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Set up 7 Data Items as below. Let\u2019s re-use the Data Items already set.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Data Item Name<\/strong><\/td><td><strong>Data-type<\/strong><\/td><td><strong>Field name<\/strong><\/td><td><strong>Remarks<\/strong><\/td><\/tr><tr><td>Title<\/td><td>String-type \/ single line<\/td><td><\/td><td><\/td><\/tr><tr><td>Business trip start date<\/td><td>Date-type \/ Y\/M\/D<\/td><td>q_trip_start<\/td><td>\u201cDate from\u201d in \u201cYour first step\u2026\u201d<\/td><\/tr><tr><td>Business trip end date<\/td><td>Date-type \/ Y\/M\/D<\/td><td>q_trip_end<\/td><td>\u201cDate until\u201d in \u201cYour first step\u2026\u201d<\/td><\/tr><tr><td>Applicant<\/td><td>User-type \/ Search select box<\/td><td>q_trip_user<\/td><td><\/td><\/tr><tr><td>Request details<\/td><td>String-type \/ multiple lines<\/td><td>q_purpose<\/td><td>\u201cContents\u201d in \u201cYour first step\u2026\u201d<\/td><\/tr><tr><td>Amount<\/td><td>Numeric-type<\/td><td>q_budget<\/td><td><\/td><\/tr><tr><td>Report deadline<\/td><td>Date-type \/ Y\/M\/D<\/td><td>q_report_deadline<\/td><td><\/td><\/tr><tr><td>Report content<\/td><td>String-type \/ multiple lines<\/td><td>q_report<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Data Editing Permission<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Set as follows.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><\/td><td><strong>Request Travel<\/strong><\/td><td><strong>Approve<\/strong><\/td><td><strong>Report<\/strong><\/td><td><strong>Confirmation<\/strong><\/td><\/tr><tr><td>Title<\/td><td>Editable <span style=\"color: royalblue;\"><i class=\"fas fa-pen fa-lg\" data-fa-transform=\"shrink-8\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><\/tr><tr><td>Business trip start date<\/td><td>Editable <span style=\"color: royalblue;\"><i class=\"fas fa-pen fa-lg\" data-fa-transform=\"shrink-8\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><\/tr><tr><td>Business trip end date<\/td><td>Editable <span style=\"color: royalblue;\"><i class=\"fas fa-pen fa-lg\" data-fa-transform=\"shrink-8\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><\/tr><tr><td>Applicant<\/td><td>Editable <span style=\"color: royalblue;\"><i class=\"fas fa-pen fa-lg\" data-fa-transform=\"shrink-8\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><\/tr><tr><td>Request details<\/td><td>Editable <span style=\"color: royalblue;\"><i class=\"fas fa-pen fa-lg\" data-fa-transform=\"shrink-8\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><\/tr><tr><td>Amount<\/td><td>Editable <span style=\"color: royalblue;\"><i class=\"fas fa-pen fa-lg\" data-fa-transform=\"shrink-8\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><\/tr><tr><td>Report deadline<\/td><td>No display <span style=\"color: Red;\"><i class=\"fas fa-eye-slash fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>No display <span style=\"color: Red;\"><i class=\"fas fa-eye-slash fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>No display <span style=\"color: Red;\"><i class=\"fas fa-eye-slash fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>No display <span style=\"color: Red;\"><i class=\"fas fa-eye-slash fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><\/tr><tr><td>Report content<\/td><td>No display <span style=\"color: Red;\"><i class=\"fas fa-eye-slash fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>No display <span style=\"color: Red;\"><i class=\"fas fa-eye-slash fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Editable <span style=\"color: royalblue;\"><i class=\"fas fa-pen fa-lg\" data-fa-transform=\"shrink-8\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><td>Display only <span style=\"color: Orange;\"><i class=\"fas fa-eye fa-lg fa-flip-horizontal\" data-fa-transform=\"shrink-7\" data-fa-mask=\"fas fa-circle\"><\/i><\/span><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u201cBusiness Trip Start\u201d Settings<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Timer Intermediate Event<\/strong> is an object that pauses the token mid-flow until a specified date and time. By inserting this event in the middle of the workflow diagram you can pause the Process.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This time, we will use the Timer Intermediate Event to prevent the Report Task from occurring until the business trip begins. Set the timer to \u201cDatetime specified by a data item\u201d in the Settings window and select the Data Item \u201cBusiness trip start date\u201d. With this, the token will stay on \u201cBusiness Trip Start\u201d until the date which has been entered at the Request Travel Task.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"808\" height=\"630\" data-attachment-id=\"147674\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/service-task-calculation-datetime\/attachment\/calculation-datetime-timer-config-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-timer-config-en.png?fit=836%2C652&amp;ssl=1\" data-orig-size=\"836,652\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"calculation-datetime-timer-config-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-timer-config-en.png?fit=808%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-timer-config-en-808x630.png?resize=808%2C630&#038;ssl=1\" style=\"border:10px solid #aaaaaa; padding:5px; margin:5px;\" alt=\"\" class=\"wp-image-147674\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-timer-config-en.png?resize=808%2C630&amp;ssl=1 808w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-timer-config-en.png?resize=404%2C315&amp;ssl=1 404w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-timer-config-en.png?resize=768%2C599&amp;ssl=1 768w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-timer-config-en.png?w=836&amp;ssl=1 836w\" sizes=\"auto, (max-width: 808px) 100vw, 808px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">After the \u201cBusiness trip start date\u201d, the token proceeds to the Report Task. This prevents the Report Task from entering the applicant\u2019s My Tasks list before the trip begins.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To specify the timer with a Data Item, either of the Date-type or Datetime-type is used. When the Date-type is used like in this example, the timer starts operating at 00:00.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u201cDeadline Calculation\u201d Settings<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">We will use the <strong>Update Data<\/strong> to calculate the deadline date to be set in the Report Task. With Update Data you can calculate numbers, characters, and date\/time. For example, if you want the Report Task to be completed within 7 days after the <strong>Business trip end date<\/strong> it is necessary to calculate that date <strong>+ 7 days<\/strong> for the deadline of the Human Task described later. The formula looks like this:<\/p>\n\n\n\n<p class=\"has-very-light-gray-background-color has-background wp-block-paragraph\">#q_trip_end.addDays(7)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Let\u2019s save the calculated date in the Date-type Data Item \u201cReport deadline\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" data-attachment-id=\"147676\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/service-task-calculation-datetime\/attachment\/calculation-datetime-human-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-en.png?fit=689%2C456&amp;ssl=1\" data-orig-size=\"689,456\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"calculation-datetime-human-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-en.png?fit=689%2C456&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-en.png?resize=689%2C456&#038;ssl=1\" style=\"border:10px solid #aaaaaa; padding:5px; margin:5px;\" alt=\"\" class=\"wp-image-147676\" width=\"689\" height=\"456\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-en.png?w=689&amp;ssl=1 689w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-en.png?resize=476%2C315&amp;ssl=1 476w\" sizes=\"auto, (max-width: 689px) 100vw, 689px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">For functions that can be used to calculate Date and Datetime-type Data Items, see the following page.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360024292672\">R2271: Output of Date and Datetime Data via EL syntax<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Set Deadline on \u201cReport\u201d<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you set the deadline in the Human Task Settings dialog, you can force the Task to be terminated or send a notification to the person in charge of operating when the specified time has passed. This time, let\u2019s set the deadline to 7 days after the business trip end date like we calculated earlier so that notification will be sent when the deadline is passed.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"689\" height=\"456\" data-attachment-id=\"147679\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/service-task-calculation-datetime\/attachment\/calculation-datetime-human-en-1\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-en-1.png?fit=689%2C456&amp;ssl=1\" data-orig-size=\"689,456\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"calculation-datetime-human-en-1\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-en-1.png?fit=689%2C456&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-en-1.png?resize=689%2C456&#038;ssl=1\" style=\"border:10px solid #aaaaaa; padding:5px; margin:5px;\" alt=\"\" class=\"wp-image-147679\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-en-1.png?w=689&amp;ssl=1 689w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-en-1.png?resize=476%2C315&amp;ssl=1 476w\" sizes=\"auto, (max-width: 689px) 100vw, 689px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">When specifying the deadline date of a Human Task with a Data Item, you can use the Date-type and Datetime-type. If the Date-type is used like in this example, the deadline will be 23:59.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you set the action when the deadline is reached to <strong>\u201cNo action\u201d<\/strong> you will receive a system notification saying \u201cThe deadline has passed\u201d when the deadline passes, but you can still Operate the Task after the deadline.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"578\" height=\"259\" data-attachment-id=\"147681\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/service-task-calculation-datetime\/attachment\/calculation-datetime-notification-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-notification-en.png?fit=578%2C259&amp;ssl=1\" data-orig-size=\"578,259\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"calculation-datetime-notification-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-notification-en.png?fit=578%2C259&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-notification-en.png?resize=578%2C259&#038;ssl=1\" style=\"border:10px solid #aaaaaa; padding:5px; margin:5px;\" alt=\"\" class=\"wp-image-147681\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The deadline column for the task in <strong>My Tasks<\/strong> is now displayed in red letters when the deadline is exceeded, but the task is not deleted.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">With the settings up to this point, we have been able to implement a series of tasks from the business trip request to the report about the trip in the workflow App.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How do I turn off the Confirmation Task notification after 3 days?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">By the way, depending on the type of business the Task to confirm the contents of the report may be unnecessary. If such a task is left unattended your My Tasks list will accumulate more and more items unless the App handles it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To deal with such a case let\u2019s make the Task abort 3 days after the Task creation date using the deadline settings in the Human Task. Set the deadline for the Confirmation Task as follows.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"853\" height=\"520\" data-attachment-id=\"147683\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/service-task-calculation-datetime\/attachment\/calculation-datetime-human-deadline-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-deadline-en.png?fit=853%2C520&amp;ssl=1\" data-orig-size=\"853,520\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"calculation-datetime-human-deadline-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-deadline-en.png?fit=853%2C520&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-deadline-en.png?resize=853%2C520&#038;ssl=1\" style=\"border:10px solid #aaaaaa; padding:5px; margin:5px;\" alt=\"\" class=\"wp-image-147683\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-deadline-en.png?w=853&amp;ssl=1 853w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-deadline-en.png?resize=517%2C315&amp;ssl=1 517w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-human-deadline-en.png?resize=768%2C468&amp;ssl=1 768w\" sizes=\"auto, (max-width: 853px) 100vw, 853px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If <strong>Action at Deadline<\/strong> is set to <strong>Abort task<\/strong>, a timer boundary event is added to the Human Task icon. Upon reaching the deadline the token will go there.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"453\" height=\"360\" data-attachment-id=\"147686\" data-permalink=\"https:\/\/support.questetra.com\/en\/developer-blog\/service-task-calculation-datetime\/attachment\/calculation-datetime-gateway-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-gateway-en.png?fit=453%2C360&amp;ssl=1\" data-orig-size=\"453,360\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"calculation-datetime-gateway-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-gateway-en.png?fit=453%2C360&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-gateway-en.png?resize=453%2C360&#038;ssl=1\" style=\"border:10px solid #aaaaaa; padding:5px; margin:5px;\" alt=\"\" class=\"wp-image-147686\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-gateway-en.png?w=453&amp;ssl=1 453w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2023\/06\/calculation-datetime-gateway-en.png?resize=396%2C315&amp;ssl=1 396w\" sizes=\"auto, (max-width: 453px) 100vw, 453px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With this configuration the token goes to the Join Gateway then moves to the End Event regardless of whether the supervisor finishes the Task or leaves it for 3 days. When the Task is aborted the Task notification disappears, so the Confirmation Task disappears from the My Tasks list of the supervisor three days after creation.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-css-opacity\"\/>\n\n\n\n<p class=\"wp-block-paragraph\">In this article the sample App itself has been concise to provide an easy-to-understand idea of how to use the Timer Intermediate Event and deadline settings. If you want to control the date and time of the token\u2019s flow try applying this article.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to set the date and time when a Task will occur, and the deadline date when it must be completed. <\/p>\n","protected":false},"author":30,"featured_media":115026,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[296],"tags":[],"class_list":["post-82721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-developer-blog"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/04\/eye-catch-update_data-deadline-en.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"Peter Glover","author_link":"https:\/\/support.questetra.com\/en\/author\/petergloverquestetra\/"},"uagb_comment_info":2,"uagb_excerpt":"How to set the date and time when a Task will occur, and the deadline date when it must be completed.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-lwd","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":94108,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/app-case-task\/","url_meta":{"origin":82721,"position":0},"title":"Apps, Cases, Tasks and their Relationships","author":"Peter Glover","date":"2020-10-30","format":false,"excerpt":"Describes Workflow Apps, Cases, Tasks and their Relationships","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/workflow-apps-cases-tasks-fi-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/workflow-apps-cases-tasks-fi-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/workflow-apps-cases-tasks-fi-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/workflow-apps-cases-tasks-fi-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/workflow-apps-cases-tasks-fi-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":78739,"url":"https:\/\/support.questetra.com\/en\/bpmn-icons\/receive-task-webhook\/","url_meta":{"origin":82721,"position":1},"title":"Receive Task (Webhook)","author":"Hirotaka NISHI","date":"2019-10-01","format":false,"excerpt":"Holds the token and awaits a webhook (HTTP request) at a specific URL. Advances the token when a webhook for the specified HTTP method is received. Capable of storing the received request body in a String-type Data Item. Also possible to return an HTTP response with Business Data inserted.","rel":"","context":"In &quot;BPMN Icons&quot;","block_context":{"text":"BPMN Icons","link":"https:\/\/support.questetra.com\/en\/category\/bpmn-icons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-webhook-1200x675.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-webhook-1200x675.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-webhook-1200x675.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-webhook-1200x675.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/10\/bpmn-icon-receive-task-webhook-1200x675.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":75480,"url":"https:\/\/support.questetra.com\/en\/templates\/daily-report-flow-20180409\/","url_meta":{"origin":82721,"position":2},"title":"Daily Report Flow","author":"Hirotaka NISHI","date":"2021-02-02","format":false,"excerpt":"Automatically starts up every morning for reporting daily business. After the Step of [1. Enter report] is handled, the superior confirms the content at the Step of [2. Daily report confirmation]. If there is a comment, it will be sent to the reporter by email, and if the report needs\u2026","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/daily-report-flow-en.png?fit=948%2C421&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/daily-report-flow-en.png?fit=948%2C421&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/daily-report-flow-en.png?fit=948%2C421&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/10\/daily-report-flow-en.png?fit=948%2C421&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":80706,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/message-start-event-receive-task-form-validation\/","url_meta":{"origin":82721,"position":3},"title":"Let\u2019s Create Public Web Forms (Input check)","author":"Hirotaka NISHI","date":"2020-04-02","format":false,"excerpt":"Introducing how to set the deadline for processing \u201cReceive Task (Form)\u201d and a method of validation on email addresses using regular expressions.","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/web-form-featured-image.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/web-form-featured-image.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/web-form-featured-image.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/web-form-featured-image.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/09\/web-form-featured-image.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":74103,"url":"https:\/\/support.questetra.com\/en\/developer-blog\/first-questetra-bpm-suite-step3\/","url_meta":{"origin":82721,"position":4},"title":"Your first step in Questetra BPM Suite \/ Chpt.3: Creating a Travel Request App","author":"Hirotaka NISHI","date":"2020-03-06","format":false,"excerpt":"This is the 3rd tutorial for beginners of Questetra BPM Suite. Through refinement of the Travel Request App created in Chapter 2, we will deal with somewhat advanced contents. I will describe the setting related to the data item and the method of automatically determining \"boss of the applicant\".","rel":"","context":"In &quot;Questetra Developers Blog&quot;","block_context":{"text":"Questetra Developers Blog","link":"https:\/\/support.questetra.com\/en\/category\/developer-blog\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/step3.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/step3.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/step3.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/step3.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/03\/step3.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":77685,"url":"https:\/\/support.questetra.com\/en\/templates\/acceptance-inspection-request-flow-20170612\/","url_meta":{"origin":82721,"position":5},"title":"Acceptance Inspection Request Flow","author":"Hirotaka NISHI","date":"2021-02-22","format":false,"excerpt":"Responds to inspection after delivery of consignment work. A delivery note PDF is automatically generated from the input information of [1. Delivery information input] and sent. In the Step of [2. Correspond Acceptance\/Receiving Acceptance report], there are 4 correspondence patterns of a: Received an acceptance report \/ b: Deemed inspection\u2026","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-acceptance-inspection-request-flow-20170612-220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-acceptance-inspection-request-flow-20170612-220-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-acceptance-inspection-request-flow-20170612-220-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-acceptance-inspection-request-flow-20170612-220-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2019\/07\/eye-catch-acceptance-inspection-request-flow-20170612-220-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/82721","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/30"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=82721"}],"version-history":[{"count":35,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/82721\/revisions"}],"predecessor-version":[{"id":147689,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/82721\/revisions\/147689"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/115026"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=82721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=82721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=82721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}