Skip to main content
Known Participant
March 13, 2025
Question

startProcess() vs startProcessLink() question (asynchronously vs synchronously)

  • March 13, 2025
  • 2 replies
  • 16 views

Hi,

In Appian documentation, I've always read that 1/a!startProcess() works as asynchronously, while 2/a!startProcessLink() work as synchronously.

But when I go in the Process Editor, and drag&drop the "Start Process" Service (3/), I can see in the "Setup" Tab that we can choose between synchronously or asynchronously mode.

Could you tell me if 1/ or 2/ are using the smart service(3/) behind the scene ?

and does 1/ always work asynchronously and 2/ always work synchronously ?


Regards

2 replies

Participating Frequently
March 13, 2025

Hello,

Previously, the startProcess smart service was only available in Async mode, but Appian has recently introduced Sync mode as well.
startProcessLink used if there is a need to show forms/ user input tasks.

I recommend reviewing the following link:
Ways to Start a Process From a Process -  docs.appian.com/.../Ways_to_Start_a_Process_From_a_Process.html

Topics: Comparing Methods for Starting a Synchronous Process from Another Process or Interface

Both sync or async methods have their benefits and use cases.

Known Participant
March 13, 2025

Oh I see, in the meantime, Appian introduced this new sync mode...it was what I suspected.
Thanks a lot.