Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
6 replies
Subscribers
8 subscribers
Views
4559 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Do we have an option to invoke a process model from SAIL Code?
Navajith K
over 9 years ago
Do we have an option to invoke a process model from SAIL Code?
OriginalPostID-154018
OriginalPostID-154018
Discussion posts and replies are publicly visible
Parents
0
Mike Schmitt
Certified Lead Developer
over 9 years ago
I'd note that even though the process fires asynchronously, my tests have revealed that if the process is set to chain through, then any DB updates it performs will be done before the SAIL form's With() parameters (if any) are reloaded.
I have successfully used this trick to create, for example, a "star" icon on a Record dashboard which is actually a graphic link, which when clicked, adds a bookmark row in the DB for that user/record pair, and the form updates in realtime with a filled-in star to indicate "bookmarked". Again, it *is* dependent on process chaining, at least per my tests.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Mike Schmitt
Certified Lead Developer
over 9 years ago
I'd note that even though the process fires asynchronously, my tests have revealed that if the process is set to chain through, then any DB updates it performs will be done before the SAIL form's With() parameters (if any) are reloaded.
I have successfully used this trick to create, for example, a "star" icon on a Record dashboard which is actually a graphic link, which when clicked, adds a bookmark row in the DB for that user/record pair, and the form updates in realtime with a filled-in star to indicate "bookmarked". Again, it *is* dependent on process chaining, at least per my tests.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data