is there a way to get task id from expression?

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2014 07:23 PM
what i want is to get a url from a task's formkey with a taskid.
<userTask id="test" name="test" activiti:assignee="Bob" activiti:formKey="index.jsp?taskId=${someexpression}"></userTask>
is there an expression i can use to fill the task id automatically?
<userTask id="test" name="test" activiti:assignee="Bob" activiti:formKey="index.jsp?taskId=${someexpression}"></userTask>
is there an expression i can use to fill the task id automatically?
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2014 01:36 AM
Hi,
I would say that Task instance is accessible from TaskListener.
(http://www.activiti.org/userguide/#apiExpressions)
Try to set variable there and use it in the expression.
http://www.activiti.org/userguide/#taskListeners
Regards
Martin
I would say that Task instance is accessible from TaskListener.
(http://www.activiti.org/userguide/#apiExpressions)
Try to set variable there and use it in the expression.
http://www.activiti.org/userguide/#taskListeners
Regards
Martin
