Save data from input task node when you have a timer

In a process I have an user input task with a timer. I want when the timer is triggered the data that was input to be saved. Any ideas how to achieve this?

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer

    Hi @catalinp I believe you can achieve this functionality by following below mention steps:

    1. Capture notes in activity class parameter and save it into process variable, so that users can atleast save the form and the data will be captured in activity class parameter

    2. Configure expression based timer, if the ac!note is empty then do not enable exception flow else move it to next exception path, now add your db node to persist this data into DB

    3. Alternatively, if you don't want to go for conditional based timer then, better have a gateway in between user input and db node of exception flow and check if pv!note is empty then reassign the task to the Same user so that user should not miss the task unless he do not input the note and save it.

    Hope this will help you

Reply
  • 0
    Certified Lead Developer

    Hi @catalinp I believe you can achieve this functionality by following below mention steps:

    1. Capture notes in activity class parameter and save it into process variable, so that users can atleast save the form and the data will be captured in activity class parameter

    2. Configure expression based timer, if the ac!note is empty then do not enable exception flow else move it to next exception path, now add your db node to persist this data into DB

    3. Alternatively, if you don't want to go for conditional based timer then, better have a gateway in between user input and db node of exception flow and check if pv!note is empty then reassign the task to the Same user so that user should not miss the task unless he do not input the note and save it.

    Hope this will help you

Children
No Data