Skip to Content

How to get the task ID in workflow within EL expression?

Mar 29 at 07:40 AM


avatar image
Former Member


I'm working on a workflow project, I need to get the UserTask Instance ID of the current workflow instance. But till to now, I'm only able to get it by ajax with an provided workflowInstance ID. For high-efficiency and convenience, I wanna use EL expression to get the task ID.


I referred the Workflow Guide and I know there are other EL expressions:

var workflowInstanceId = $.info.workflowInstanceId ; // for example, "42"
var taskDefinitionId = $.info.taskDefinitionId; // for example, "ScriptTask1"
var workflowDefinitionId= $.info.workflowDefinitionId; // for example, "scriptTaskProcess"

But I didn't find any expression about the task ID.

If anyone knows how to solve this trouble, pls tell me when you feel free.

Best regards,

Joy Lee

need-this.png (31.1 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Stefan Henke
Mar 29 at 08:27 AM

Hi Joy,

This feature is planned, but not yet available. You can monitor the weekly release notes to get informed once this feature is available.

Best regards,

Stefan Henke

10 |10000 characters needed characters left characters exceeded