cancel
Showing results for 
Search instead for 
Did you mean: 

get the ID of the current task in the automation scripting executed before a task

jour_
Champ in-the-making
Champ in-the-making

I can get the worflow ID but not the task ID. Request : SELECT * FROM RoutingTask WHERE ecm:currentLifeCycleState = 'opened' AND nt:processId = 'myWorflowId'

With this request I can have the task in the webUI nxql search, but with the same request in the "input" script, I have no result.

My aim is to put in a notification mail a link to the task (and not a link to the associated document).

2 REPLIES 2

LaraGranite_
Star Contributor
Star Contributor

Can you try this?

jour_
Champ in-the-making
Champ in-the-making

I tried it... Same result : no result.