Skip to main content
mollyn6512
Known Participant
Oct 20, 2022 7:58 AM UTC
Question

How to set sub-process execute on the same engine as it's parent model

Hi everyone, 

I'm quite new to process model things, so there were something that I have heard of but didn't understand. 

1. What is process model engine? Is there any documents about it?

2. How to set the sub process to be executed on the same engine with its parent process? And is there any benefit on that? 

Really appreciate your helps!

    8 replies

    Participating Frequently
    Oct 20, 2022 9:02 AM UTC

    1. You can read about the engines in the Appian product in here:

    https://docs.appian.com/suite/help/22.3/Enterprise_Architecture_Overview.html#appian-engines

    2. You can compare ways to start a process, including engine usage, here:
    https://docs.appian.com/suite/help/22.3/Ways_to_Start_a_Process_From_a_Process.html#comparing-ways-to-start-a-process-from-a-process

    The more you design to divide load over different engines, the more scalable your solution is (as in, if you add engine instances more load could be handled).

    Hope it helps out!

    mollyn6512
    Known Participant
    Oct 25, 2022 2:02 AM UTC

    Thank you! It does not solve my question 100% but I started to understand about engines and ways to start the process, so better than knowing nothing [emoticon:c4563cd7d5574777a71c318021cbbcc8]

    mollyn6512
    Known Participant
    Oct 25, 2022 8:02 AM UTC

    The documents absolutely help! I was missing some part that was why I though it provided not enough information :D Thank you!

    mikes0011
    Brainy
    Oct 20, 2022 1:47 PM UTC
    How to set the sub process to be executed on the same engine with its parent process?

    AFAIK this is the default behavior and, in fact, not avoidable unless you take special steps to try to avoid it (i.e. using the Start Process node instead of subprocess).

    Is there any particular reason you need this behavior?  In most circumstances this is supposed to be transparent to users and even designers, except when doing planning and/or testing for heavy environmental loads.

    The Expression Guru
    mollyn6512
    Known Participant
    Oct 25, 2022 8:00 AM UTC

    Thanks Mike, I think I misunderstood the requirement a bit, what I need to do is changing the start event node to subprocess, since the engine is default to be the same as its parent, and Lauren's document above gave me a great guidance!

    csteward
    Brainy
    Oct 20, 2022 3:54 PM UTC

    Agree with the others, I've never seen a use case where a sub process needs to be run on the same engine - the benefit is at the server level when processes are spread over different engines for performance, server health, and there are no development or design limitations based on which engines the processes are running on.

    mollyn6512
    Known Participant
    Oct 25, 2022 2:01 AM UTC

    Thanks for the info Chris, so once there is a sub-process, it will automatically execute on the same engine with its parent process?

    Known Participant
    Oct 25, 2022 6:51 AM UTC

    yes it will be execute on the same engine...!