Skip to main content
July 12, 2022
Question

Task Creation is very slow

  • July 12, 2022
  • 8 replies
  • 0 views

Hi All,

We have a workflow system where we are generating dynamic process(which generate view task) using Create process smart services, but it is very slow, the smart service takes more than 2second to create next process, that makes our system very slow.

can anyone help us on this? is there anything that we can replace or change so it create next process faster?

Thanks a lot

    8 replies

    stefanhelzle0001
    Brainy
    July 12, 2022

    Please share more details with us. What does "we are generating dynamic process" mean? What is a "view task"? What is "Create process smart services"? What is "our system"?

    What does slow mean? Is a user actively waiting for something?

    July 12, 2022

    Thanks for replying.  

    Dynamic process mean we are fetching process model using getprocessmodeldetailsbyuuid method by passing UUID of process,

    the process model which is returned by getprocessmodeldetailsbyuuid is then passing to Start Process smart service and this start process takes time. The view task mean task generated by User Input Task node, it is interface where user need to complete their task.

    And yes, user is waiting for the task to generate from above process. 

    Let me know if need more details , Thanks

    stefanhelzle0001
    Brainy
    July 12, 2022

    Hm... in general Appian is designed to run a million process instances at the same time, not to run a single instance in minimal time.

    From a user perspective, how does this work? The user clicks some button, then has to wait until a task is displayed somewhere. Then click a link to open this task. Why is this dynamic behaviour necessary?

    What I want to say is, that without chaining, you will not be able to speed this up. And the user might be more happy to directly see the UI he expects.