Skip to Content
avatar image
Former Member

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

Context:

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.

Trouble:

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • 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.

    https://help.sap.com/viewer/e8f559fd8d924baa8c987b650e3703b1/Cloud/en-US

    Best regards,

    Stefan Henke

    Add comment
    10|10000 characters needed characters exceeded