Skip to Content
0

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

Mar 29 at 07:40 AM

27

avatar image
Former Member

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)
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
1

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

Share
10 |10000 characters needed characters left characters exceeded