Is it possible to retrieve the tp!id (task id) from a task when its assigned? I

Is it possible to retrieve the tp!id (task id) from a task when its assigned? I have an ac value "taskid" where I am assigning the value as tp!id and saving off into pv!taskid all on the input. I need the task Id to pass to a notifications sub-process to generate a link to that task to put in the reminder to complete task email.

When I run the process it does not seem to be generating a task id except on output; meaning I have to complete the task before the id is generated. As you can see if that happens there is no need for reminder emails.

OriginalPostID-151537

OriginalPostID-151537

  Discussion posts and replies are publicly visible

Parents
  • Mike, attached is the snap shot of a mocked up solution you might be interested in.

    The key to this solution is a plugin developed by Appian PS team which provides a function/expression to query a task id based on a process id and a task name. Once you can get the task id, you can construct the url like this... rule!APN_getSiteUrl() & "tempo/tasks/task/" & pv!taskId

    I have submitted that "Get Process Task ID" plugin to shared component and hopefully should be available soon once approved.

Reply
  • Mike, attached is the snap shot of a mocked up solution you might be interested in.

    The key to this solution is a plugin developed by Appian PS team which provides a function/expression to query a task id based on a process id and a task name. Once you can get the task id, you can construct the url like this... rule!APN_getSiteUrl() & "tempo/tasks/task/" & pv!taskId

    I have submitted that "Get Process Task ID" plugin to shared component and hopefully should be available soon once approved.

Children
No Data