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
15 replies
Subscribers
9 subscribers
Views
7740 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
How do we get the next task Id of a User Input Task. This has to be entered in t
aneeshv713
over 10 years ago
How do we get the next task Id of a User Input Task. This has to be entered in the Send Email Smart Service which is triggered before the User Input Task? Is there any such Out Of The Box function?...
OriginalPostID-114894
OriginalPostID-114894
Discussion posts and replies are publicly visible
Parents
0
Eduardo Fuentes
Appian Employee
over 10 years ago
You can send the email after the task is instantiated (e.g. a paralel flow one that goes to the task to instantiate it, one that goes to a timer to wait for the task to be instantiated).
The flow that has the timer would then go to a script task that can call a custom function you will have to create (
forum.appian.com/.../ProcessExecutionService.html
, int, int, int, java.lang.Integer, java.lang.Integer) to get the current tasks for process and based on your business logic get the desired task from that process then pass that information to the Send Email node.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
Eduardo Fuentes
Appian Employee
over 10 years ago
You can send the email after the task is instantiated (e.g. a paralel flow one that goes to the task to instantiate it, one that goes to a timer to wait for the task to be instantiated).
The flow that has the timer would then go to a script task that can call a custom function you will have to create (
forum.appian.com/.../ProcessExecutionService.html
, int, int, int, java.lang.Integer, java.lang.Integer) to get the current tasks for process and based on your business logic get the desired task from that process then pass that information to the Send Email node.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data