Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Suggested Answer
+1
person also asked this
people also asked this
Replies
11 replies
Answers
2 answers
Subscribers
7 subscribers
Views
10355 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Start Process Smart Service failing though Process Instance is being triggered
sikhivahans
over 8 years ago
I am triggering a Process Instance by using 'Start Process Smart Service'. A weird behavior I have noticed is, the Process Instance is being triggered but the Start Process Smart Service is crashing with an error. The target process model has just two parameters out of which one is of type CDT(single) and other is of type Date (single). I can also clearly see the triggered instances, the parameterised variables in triggered instances populated with values configured in the Start Process Smart Service node.
Content from logs is as follows:
UnattendedJavaActivityRequest] ERROR com.appiancorp.process.engine.UnattendedJavaActivityRequest - An error occurred while executing activity: id=536936184, classname=com.appiancorp.process.runtime.activities.StartProcessSmartService2
12:39:25,568 INFO [stdout] (Appian Work Item - 6406 - Proce...
OriginalPostID-240702
Discussion posts and replies are publicly visible
Parents
+1
chetany
A Score Level 1
over 8 years ago
Yes, the documentation does not mention the effect of chaining in target process model on the start process smart service. My theory about what is happening is as follows: The start process smart service will block (i.e not proceed further execution) until it gets the response that the process model which it targeted either started successfully or failed to start. Although the smart service is asynchronous, it needs feedback - if the process model it targetted started successfully or not.
It seems that - internally the start process smart service maybe having some timeout. i.e it will wait for the response from the target process model for some pre-determined time. If it does not get any response in that time, it will timeout and crash. Activity Chaining maybe blocking longer than the internal timeout of that smart service and causing it to crash. The nature of Activity chaining is synchronous while the smart start process smart service is asynchronous. The interaction between these maybe causing it to fail.
Of course this is just my theory and I could be wrong.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Reply
+1
chetany
A Score Level 1
over 8 years ago
Yes, the documentation does not mention the effect of chaining in target process model on the start process smart service. My theory about what is happening is as follows: The start process smart service will block (i.e not proceed further execution) until it gets the response that the process model which it targeted either started successfully or failed to start. Although the smart service is asynchronous, it needs feedback - if the process model it targetted started successfully or not.
It seems that - internally the start process smart service maybe having some timeout. i.e it will wait for the response from the target process model for some pre-determined time. If it does not get any response in that time, it will timeout and crash. Activity Chaining maybe blocking longer than the internal timeout of that smart service and causing it to crash. The nature of Activity chaining is synchronous while the smart start process smart service is asynchronous. The interaction between these maybe causing it to fail.
Of course this is just my theory and I could be wrong.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Reject Answer
Cancel
Children
No Data