Skip to main content
March 4, 2022
Question

Unable to Trigger Process model From Start Process Node

  • March 4, 2022
  • 4 replies
  • 0 views

Hello Everyone,

The parent process model unable to trigger the child process calling through the Start Process node. The same child process model trigger fine when trigger through the "sub process" node as synchronous/Asynchronous . Verified the parameters thrice and every thing looks good.Also Observed below error in the logs.

2022-03-04 19:02:01,035 [ajp-nio-0.0.0.0-8009-exec-358] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=536873219, classname=com.appiancorp.process.runtime.activities.StartProcessSmartService2
com.appiancorp.suiteapi.process.exceptions.SmartServiceException: userMsg[error.invalidProcessModelParameters.userMsg=Unable to start specified process. Either values were not provided for required parameters or the specified process model is invalid. Process Model ID: 1552.] alertMsg[error.invalidProcessModelParameters.alertMsg=Unable to start specified process. Either values were not provided for required parameters or the specified process model is invalid. Process Model ID: 1552


Can you please help us what causing an issue?.

Thanks!!

4 replies

stefanhelzle0001
March 4, 2022

Can you share a screenshot of the node configuration?

You know that you need to pass the data using a map or dictionary?

kapilj0002
August 24, 2023

do you found any solutions facing the same issue?

July 16, 2024

In case this help, today, I opened an Appian Support Ticket due to in my client we have the same problem.

Paste here the answer Appian Support report me:

"The start process smart service has a defect that is only exposed under certain levels of load which explains why it's successful & or errors out sometimes. Under high loads, the java work queue may result in a race condition. The smart service is asynchronous whereby it does not wait for the completion of the process(es) it started but its mechanism that calculates the process info is synchronous.
To ensure that this change is delivered in the least disruptive way possible, we are addressing this through a future feature release targeted for 24.4 Excitingly, this feature will not only address the root cause of this issue, but it will further introduce optimization and customization possibilities for the start process smart service and a!startprocess function. To leverage the feature release to address this issue, you will configure the start process to use the new Start Process Smart Service node.
"

gavind
August 13, 2024

Thank you for the information [mention:28150c5ce16e4d48ae3e4a7de9daaae5:e9ed411860ed4f2ba0265705b8793d05] . I have faced the issue twice now while calling a!startprocess from a button component in last one month. Nothing was changed but the issue just occurs and resolves itself. This explains why.