As title, which mean, once some condition satisfy, the button already submited without have to click it.
Discussion posts and replies are publicly visible
Depends. If your interface is just for clicking one of a few buttons, then yes. What do you want to achieve?
I wish to do insert data to the backend one table meanwhile delete from another table about the relevant data immediately, since one button can't achieve double smart service, then I wish to achieve by two buttons, the other one just never shows up, only when one button getting click then the other button got automatically ignited due to the first button click.Thank you sir
Probably doing those changes in a process model would be correct way to work on this (for two smart services) instead.
On click of the first button you can trigger the process model with a!startprocess which would suffice your requirement and then there is no need of second click.
The problem my smart service set in process model always failed, would you give a example, even from basic write and delete from database.
May be you are not passing the required parameters.
In case Write to data store entity smart service , check whether you provided the entity reference and the data input which you need to persist. similarly check for other smart service....
what fill in the processParameter?
Basically we have to pass the PV which we used in the Process model. For instance, in your process model, you will need value for some CDT (e.g., pv!saveTodb) to save into database and similarly need some values to be deleted from DB.
In that case, the parameter should be {saveTodb: anyValueYouNeedToSave, deleteFromdb: anyValueYouNeedToDelete}.
Also this PV's must be configured in Process model as Parameter as shown in the below image.
Example from My process Model:
Test123,234 refer to primary key or table name?
Can we please continue this in a single thread!
community.appian.com/.../attempted-to-run-a-second-smart-service-but-only-one-smart-service-can-be-run-per-expression-evaluation