Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Verified Answer
+2
person also asked this
people also asked this
Replies
14 replies
Subscribers
6 subscribers
Views
10930 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Unable to start 2 or more smartservice at the same time
marcoc918
A Score Level 1
over 7 years ago
Good afternoon,
we have the following requirement and we are unable to solve it:
we need to launch at the same moment two smartservice (a!startProcess and a!deleteFromDataStoreEntities) from an interface when the user clicks on one single button "Delete", but the following error mesage appears:
Interface Definition: Expression evaluation error: An error occurred while executing a save: Expression evaluation error : Attempted to run a second smart service, but only one smart service can be run per expression evaluation.
The interface is something like that
a!buttonwidgetSubmit(
value: true,
saveInto: {
a!save(ri!boolean, value),
a!startProcess(paraemter to start the process),
a!deleteFromDataStoreEntities(parameter to delete from datastore)
}
OriginalPostID-242872
Discussion posts and replies are publicly visible
0
codys
over 7 years ago
@Appian The artificial limitation of only being able to execute one smart service per saveInto is severely limiting. Most complex data models will require one or more inserts followed up one or more deletions. Even the simple case of an editable grid on a single table requires 1 insert/update + 1 delete. Without the ability to execute sequential smart services via SAIL, we are still unable to deprecate and replace the bulk of our legacy process models with proper expressions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
eliav
over 7 years ago
Ciao Paul,
the patch reports:
AN-76326 - Low
Executing multiple smart service expressions in quick succession from the same interface no longer throws an error.
The question is what it means about "quick session" ?
We have installed the hotfix but we are not able to call 2 smart services in the same submit button yet..
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
eliav
over 7 years ago
quick succession sorry
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Paul Mayeur
Appian Employee
over 7 years ago
I am not positive you are have the same issue. If you think there is a bug have your team open a support ticket.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
<