Different tp!id and task id in Tempo

Hello,

I'm using escallations in user input task for sending alert message. In this alert message I would like to send URL to concrete task and i am building this URL in expression like this:

="http://xxxxx.com/suite/tempo/tasks/task"&tp!id

Problem is that tp!id in link is always different from task id when i'm accessing it directly from tempo. Difference between these IDs is always 2, e.g. task id when i open it from tempo is 10 and tp!id in URL is 12. Do you know where the problem could be?

Thanks

  Discussion posts and replies are publicly visible

Parents
  • Hi erikm192,

    if you want to bind User Input task id along with URl follow below steps, it will work definitely

    1. create constant "cons!MY_TASKS" first

    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 erikm192,

    if you want to bind User Input task id along with URl follow below steps, it will work definitely

    1. create constant "cons!MY_TASKS" first

    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