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
10801 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
Parents
0
ramakrishnak
over 7 years ago
Hi @marcoc918
You can’t run two smart service functions at the same time. It allows you to run only one at a time. AFAIK you can run by applying some conditions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
ramakrishnak
over 7 years ago
Hi @marcoc918
You can’t run two smart service functions at the same time. It allows you to run only one at a time. AFAIK you can run by applying some conditions.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data