Async Start Process smart service queries

Certified Senior Developer

Hi All,

Asynchronous Start Process smart service runs as synchronously because sub process has activity chaining. Our question is old Start Process smart service runs synchronously as there is no option in earlier version, but newer version also runs same way then we have to Async sub process in that case. Any reason for this issue?

Using on premise Appian with 25.2

Thanks!

  Discussion posts and replies are publicly visible

  • 0
    Certified Lead Developer

    If I remember correctly, the main reason to use the old Start Process smart service was to allow the sub-process to be asynchronously load balanced to another execution engine. There were ways to get activity chaining working, but they weren't well documented.

    Could you please clarify a few things for us?

    • Is the desired outcome to have an existing sub-process be called asynchronously or synchronously? If async - why?
    • Does the sub-process have a user input task that is activity chained into?
    • Is the parent process called from an API or a user-facing interface?
    • Are you using the Start Process smart service or the Sub-Process node?

    It is possible that you might need to re-make the node with these activity chaining considerations. An execution engine will not follow an async sub-process's chain when started with the Start Process smart service.