What is the difference between start process and sub process?
Thanks In Advance.
You can use start process in 2 ways:
1. In process model using start process smart service, where you have have to select process model and it's respective parameters for its input.
2. In interface or Web API using a!startProcess() function. It's a smart service function. You can use it under saveInto
Hope I answered your question.
I have observed something strange and would like to share and check if its happening for others as well.
1. I have used a Start Process smart service from another parent process with close to 15 parameters passed. I currently see this coming up in Health Check Report as a high peak average node in the process
2. I have a similar parent process where the same process is called as a sub process, this time as a asynchronous sub process. The parameters and value remain the same. The volume of processes are similar. However this process doesn't seem to have a high peak average.
Any Idea of why this could have possibly happened?
What is your sub process exactly contains. If something that can be easily achieved with sub process in the parent process model then why would you choose to call the same sub process with Start Process smart service? Just get an full idea and need to see the resources which are taking the considerations in the run time.
One of the other key things that appears to be missing from this discussion is that start process does not allow you to return any of the pv's from the process that got started to the process that started it, or the form that started it. You can't configure a start process to return the output of that process. If you want data from it, it has to be a subprocess.
I'm experimenting with this as I was preparing some response for this same thread. :-D In Subprocess I construct a CDT and write into Database. I also make use of BVF Framework (App Market Link for this framework). Irrespective of whats happening in the sub process i assume starting a processes should be independent.
Discussion posts and replies are publicly visible
© 2019 Appian. All rights reserved.