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
1 reply
Subscribers
6 subscribers
Views
798 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Can we trigger a quick task from SAIL Code?
Navajith K
over 9 years ago
Can we trigger a quick task from SAIL Code?
OriginalPostID-157882
OriginalPostID-157882
Discussion posts and replies are publicly visible
Parents
0
sikhivahans
over 9 years ago
@navajithh Possibly not directly to the best of my knowledge, but you could implement it indirectly by making use of bind ( https://forum.appian.com/suite/help/7.10/Evaluation_Functions.html#bind.28.29 ) and startprocesswrite ( https://forum.appian.com/suite/tempo/records/type/components/item/i8BCLGOdlMUpdGVqT-RV7oRg74uEGJO5yQeCToV_iK9c-uZFaHQndbxbAQOV2CNBg/view/summary ). A high level pseudocode can be as follows:
1. Implement a process which accepts process id and sends the message to the process id which has come via input.
2. Using bind and startprocesswrite in the current SAIL interface, trigger the process created in Step - 1 by sending the process id of the desired process in which you may want to create a quick task. The process can be a current process (the SAIL interface on which you are working currently) or some other process, but make sure that you do have a process id in hand.
3. Upon receiving the message in the process (or current process) from Step - 1, perform the desired activities(namely quick task creation in your case)
Note: startprocesswrite is shared component and some customers may not be interested in the usage of shared component.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
sikhivahans
over 9 years ago
@navajithh Possibly not directly to the best of my knowledge, but you could implement it indirectly by making use of bind ( https://forum.appian.com/suite/help/7.10/Evaluation_Functions.html#bind.28.29 ) and startprocesswrite ( https://forum.appian.com/suite/tempo/records/type/components/item/i8BCLGOdlMUpdGVqT-RV7oRg74uEGJO5yQeCToV_iK9c-uZFaHQndbxbAQOV2CNBg/view/summary ). A high level pseudocode can be as follows:
1. Implement a process which accepts process id and sends the message to the process id which has come via input.
2. Using bind and startprocesswrite in the current SAIL interface, trigger the process created in Step - 1 by sending the process id of the desired process in which you may want to create a quick task. The process can be a current process (the SAIL interface on which you are working currently) or some other process, but make sure that you do have a process id in hand.
3. Upon receiving the message in the process (or current process) from Step - 1, perform the desired activities(namely quick task creation in your case)
Note: startprocesswrite is shared component and some customers may not be interested in the usage of shared component.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data