Unable to start 2 or more smartservice at the same time

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
  • @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.
Reply
  • @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.
Children
No Data