Skip to main content
Known Participant
Dec 7, 2022 10:58 AM UTC
Question

Hoe to close a task?

Hi All,

I have the requirement to close the task after clicking over the button in interface? Can anyone please help me out?

    7 replies

    Participating Frequently
    Dec 7, 2022 1:19 PM UTC

    Hi Shubham, the submit parameter should be set to true in your button widget. Hope this is what you are looking for and not cancelling the task instance.

    Known Participant
    Dec 10, 2022 7:59 AM UTC

    Hi Samarm, 

    On click of submit button the task should be assigned to someone else and it is not visible to the previous assignee.

    Participating Frequently
    Dec 10, 2022 10:54 PM UTC

    You can use the showwhen condition to hide it and for assigning you will need to use the process model. for submit button you can use a!startproccess that will execute whatever assigning you want to do. 

    New Participant
    Dec 8, 2022 4:01 AM UTC
    [deleted]
    Participating Frequently
    Dec 8, 2022 5:25 AM UTC

    What's your problem ?

    komalj3844
    Participating Frequently
    Dec 11, 2022 3:03 PM UTC

    You can use the submit as true and re assign the same task to next assignee by setting the next assignee in a script task 

    Task->Script task (set assignee)-> Task 

    This will also keep an audit of who is currently working on and the time of assignment