How can i get task id of a task that is assigned to a User, I can not use tp!id

How can i get task id of a task that is assigned to a User, I can not use tp!id available on output, since task is not completed yet, it is just assigned? Any suggestion. Thanks...

OriginalPostID-62929

OriginalPostID-62929

  Discussion posts and replies are publicly visible

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

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

Children
No Data