Skip to main content
raulg0001
Inspiring
March 30, 2022
Solved

difference between end event and start process

  • March 30, 2022
  • 4 replies
  • 0 views

Hello good,

I would like to know what is the difference between executing a thread in an end event node and executing a thread with the smart service start process and then terminating the process.

Best answer by stefanhelzle0001

https://docs.appian.com/suite/help/22.1/End_Event.html#launching-a-subprocess-from-an-end-event

As with the sub process node, starting a process from an end event that new process will be started on the same execution engine as the parent. The start process node distributes the load to all available engines.

If you do not need to start larger number of processes, this is more a matter of taste. I prefer explicit process design over implicit. Means, a start process node makes clear that another process is started. "Hiding" it in the end event might easily be overlooked.

4 replies

stefanhelzle0001
Brainy
March 30, 2022

https://docs.appian.com/suite/help/22.1/End_Event.html#launching-a-subprocess-from-an-end-event

As with the sub process node, starting a process from an end event that new process will be started on the same execution engine as the parent. The start process node distributes the load to all available engines.

If you do not need to start larger number of processes, this is more a matter of taste. I prefer explicit process design over implicit. Means, a start process node makes clear that another process is started. "Hiding" it in the end event might easily be overlooked.

raulg0001
raulg0001Author
Inspiring
March 30, 2022

Thanks for the reply.

So there is no difference between using the thread node asynchronously and using the end event node to launch an asynchronous thread, since both will use the same engine for the execution of the parent and child.

stefanhelzle0001
Brainy
March 30, 2022

There are three ways to start a process in a model.

Sub Process: Sync or Async, Same Engine

Start Process: Async, Distributes to other engines

End Event: Async, Same Engine