task URL from task ID

Hi All,

I have to send a reminder about pending task 

How can I get the task URL from the Task ID ? 

 

Tanks

Elia 

  Discussion posts and replies are publicly visible

Parents
  • Hi eliav,

    We can take Task Id along with User Input Task in following way

    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.

    4. After taking Task ID you to append it with your url 

    eg: "https://appian/....../taskid"

    or you can also configure SITE url with it 

    And send these url with Email notification  

Reply
  • Hi eliav,

    We can take Task Id along with User Input Task in following way

    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.

    4. After taking Task ID you to append it with your url 

    eg: "https://appian/....../taskid"

    or you can also configure SITE url with it 

    And send these url with Email notification  

Children
No Data