Skip to main content
rajt0005
June 13, 2024
Question

trigger a process model using script task

  • June 13, 2024
  • 4 replies
  • 0 views

Can we Trigger a Process Model from a Process Model  by running a!startProcess() from script task ? 

4 replies

stefanhelzle0001
June 13, 2024

No. What do you try to achieve? Any reason to not use the "Start Process" smart service?

davidj137213
June 13, 2024

You can do it with Start process smart service, as [mention:a11f77a729fb4db2af76b09948583328:e9ed411860ed4f2ba0265705b8793d05] said... or you can create an integration that calls a web Api (and the web api executes a!startprocess, and call the integration from the script task...

sriramk5349
June 14, 2024

Hi [mention:190a358f01ba46ab8c569b6353a5f5fa:e9ed411860ed4f2ba0265705b8793d05] ,

a!startprocess() is a function that can ne executed inside saveinto on an interface component or webApi.

As you want to start new process from process model, you can use subprocess or startprocess nodes. Or create an API and call that API inside an integration and use that integration in script task

July 8, 2024

Is there any specific reason behind using the startProcess function instead of the smart service?