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
10 replies
Subscribers
6 subscribers
Views
7223 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Dear all, how do I put the link to the task in the escalation tab (send
Giobis
over 9 years ago
Dear all,
how do I put the link to the task in the escalation tab (send email) of the task node?
thanks
OriginalPostID-209892
OriginalPostID-209892
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Escalations themselves have an ID which is different from the Task ID. Therefore, using tp!id will give yout the ID of the ESCALATION. That said, you cannot use tp!id.
One thing you could do is using this plug-in to the get the task ID based on its name
forum.appian.com/.../Get Process Task Id
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Giobis
over 9 years ago
Is it compatible with Appian 7.3?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
Yes. That API has not changed at all in years. The only thing I do not know is if it was compiled with Java 8. Try to deploy it to confirm.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Giobis
over 9 years ago
Thanks, I'm going to try.. Stay tuned :)
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Giobis
over 9 years ago
Hi Eduardo,
I installed the plugin but I'm not able to create a link in an email for going to the single Task Id.
How I can do it?
Thanks
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Rajasekhar Pamidipati
A Score Level 2
over 9 years ago
Hi biscontig,
If we have task ID with us then we can create link to that task in email by using HTML tag <a href= "URL"> link name</a>. Here the task link is like '<ip address>/suite/task/<task ID >'
Please go through the below link it may help you to solve your problem
forum.appian.com/.../Quick_Links_Using_Intuitive_URLs.html
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 9 years ago
To use this plug-in the syntax is:
=getprocesstaskid(pp!id, "My Task Name", true)
or if you want to get it by display name it'd be something like
=getprocesstaskid(pp!id, "My Task Display Name", false)
Note that I am using pp!id because I am assuming you'll put this in the same process where you want to get the task from but that can be the ID of any process.
Also note that this can get the task id only if the task has already been instantiated so don't put this right in parallel of the task, it has to be in parallel in the model but with a delay.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Giobis
over 9 years ago
Thanks Eduardo an rajasekharp,
My solution was to created an expression rules "goToTaskByUrl" where I pass Hostname and TaskId, here the syntax:
="http://"&ri!hostname&"/suite/tempo/tasks/task/"&ri!activity
This expression rules is into the email on "Escalation tab" . The taskId is generated by this
=rule!goToTaskByUrl(cons!HOST_NAME,getprocesstaskid(pp!id,tp!name,true))
It's Works! :)
You are welcome, If you have any suggestion for reduce this steps :)
Thanks a lot
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Eduardo Fuentes
Appian Employee
over 8 years ago
That's actually the best way to do it. Glad it's working.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Giobis
over 8 years ago
Thanks for all.. have a nice day
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel