OriginalPostID-62929
Discussion posts and replies are publicly visible
Hi ambrishs,
Now there is following way to get the Task Id
1. create constant "cons!MY_TASKS" first(ie. constant of Task Reports )
2. Then use following code to get the current task id of Approval
"a!queryProcessAnalytics(report: cons!DDG_UserTask, contextUsers: "user_name").data.dp0[1]"
pass Approval username instead of "user_name" in above code, mention username to whom approval is assigning(or user input task)
3. These will return you Task id of Approval and then bind with URL of Tempo or Site.