Skip to main content
February 8, 2023
Solved

user Input Task

  • February 8, 2023
  • 6 replies
  • 0 views

Hi,

 I have Process Model with user Input Task, I am assigning task For Task Approver if that task Approver Not Approve that task In 24 hours, that task was automatically Approved After 24 Hours.

How I can  achieve this 

Thanks 

Prashanth  

    Best answer by konduruc733182

    Hello prashanthr0005,

    You can use an exception and set the timer for 24 hours. On failure of task completion by the assigned user, the task will flow to a script task where you will change the status of the task and connect it to your write records/write to data store entity service.

    This will do the work.

    6 replies

    konduruc733182
    February 8, 2023

    Hello prashanthr0005,

    You can use an exception and set the timer for 24 hours. On failure of task completion by the assigned user, the task will flow to a script task where you will change the status of the task and connect it to your write records/write to data store entity service.

    This will do the work.

    February 9, 2023

    Now I am using this option "Skip this node at the date and time specified by this expression" In Exception
    In that i want to Approve on  From date to 12 hrs it have to be Approved. when node is delay.

    In this I had Configure like this but it is not working.

    =addhours(date(pv!applyleavewfh.fromDate) ,"2:50 PM")

    for testing purpose i kept  this time

    stefanhelzle0001
    Brainy
    February 9, 2023

    This is configured in the Exceptions tab in the user input task.

    I suggest to either go with just a simple duration, configured in the line above, or using the a!addDateTime() function to calculate the exception.

    docs.appian.com/.../fnc_date_and_time_adddatetime.html

    February 8, 2023

    This can be achieved with Exception Handling ..

    1- Double click the "User Input Task" node to open its properties.

    2- Click on the "Exceptions" Tab.

    3- Click on the "Timer".

    4- Click the "Configure" link under setup column.

    5- Now give a short description in the opened "General" Tab (this is optional), and click on the "Setup" Tab.

    6- input "24" in the Skip this node text box and select "hours" from the drop down.

    7- Click "OK" then "OK"

    8- Now you can see a small timer circle on the left bottom of the node, now just select the "connect" from the toolbar and connect this timer exception to the next node that is supposed to be executed after approval task. Save and publish your model.

    Hope this will help.

    February 8, 2023

    thanks It is Helpful