DB Tasks Vs Traditional UIT Design

Certified Senior Developer

These days I have seen developers moving to using database tasks rather than a traditional User Input Task approach.

What are the possible advantages of using DB tasks in terms of reducing memory footprint, creating short lived processes, performance, concurrency and auditing?

Any way whether a process task report or using DB task, we'll be creating tasks to save task IDs, then how it is different and advantageous in comparison to process task report approach?

  Discussion posts and replies are publicly visible

Parents Reply Children
  • 0
    Certified Senior Developer
    in reply to Mike Schmitt

    That's a hurried mistake. I have edited my comment. My apologies for any kind of misleads.

  • I believe what Konduru is saying is, in that setup you will maintain a list of work to do in the database, with no Appian process or task active.  Then you have a report showing this list of work to the "assignee" listed in the DB, from this report they can choose to initiate a task on that item at any time, which will then create a short lived Appian instance. So, the "task" (and associated process) is only activated ad-hoc instead of always.

    This would be different than assigning an Appian Task for each item when it is created, which utilizes Appian memory until completed and the process ends.

  • Basically, Konduru is saying you will maintain a list of tasks in the database without any Appian processes running.  There is a report which shows this list of work to the "assignee" that is listed in the database. From this report, they can initiate a task on that item at any time, and that will lead to the creation of a short lived Appian instance. Therefore, the "task" (and the associated process) is only activated on an ad-hoc basis rather than being activated all the time.

    When items are created, they are assigned Appian Tasks, which utilize Appian memory until completed and the entire process is complete and closed, making this different than assigning Appian Tasks when items are created.