Get task from a task URL

Certified Lead Developer

Hi Community,

Is there a way to zero in to a task using the task URL..? The task URL looks something like this - /suite/rest/a/task/latest/nyRHm7PRCKoujsVRqz/form and I would like to understand specifically what task it corresponds to.

  Discussion posts and replies are publicly visible

Parents
  • I second Stefan's question above - why do you need this?. In general it isn't possible to determine which task ID corresponds to a URL for security reasons, since if a user had a task ID, it's possible they could then use it programatically to try and cancel or reassign the task. You can use the a!urlForTask to go from the ID to the URL, but it isn't possible to do the opposite.

  • Hi,

    It may be useful if you want to monitor the use of a specific task, in order to calibrate automated tests.

    I tried to do so using the tomcat-access.log, but as mentionned it, it is not possible by using the URL containing the task ID.

    Is there another way to do so ?

    Best regards,

    Jean-Jacques

  • 0
    Certified Lead Developer
    in reply to jjzemmouri

    I do not understand what "monitor the use of a specific task, in order to calibrate automated tests" is.

    I need to repeat my initial question: What do you want to achieve?

  • Yeah if you want to monitor a specific task, presumably that means that you know the ID of that task, right? Also if you need more information about certain tasks, using task reports to get relevant information is usually your best bet: docs.appian.com/.../Task_Report_Tutorial.html

  • Our testing team want to calibrate the testing scenario of our application currently in production, to simulate a growth of user.
    To do so, they need to reproduce the behaviour of a user, so the approach is to try extracting from the data produce by Appian (log, monitoring), the number of times a task is performed during a typical day run.
    As we know the number of user connected to the application during the day, we will be able to estimate the average number of time a user performs a task during a day.
    Then our testing team will be able to build a realistic testing scenario, and will be able to level up the number of user, to see at what point the application can support a growth of users.

    For the moment, as the testing team have based their work on the URL called by the web browser, they can only see URL dedicated to the call of a task (as the URL specified by ).
    So the question is : can we determine which task is call with the URL, or is there another way to do what we need ?
    I hope it's clear now.

Reply
  • Our testing team want to calibrate the testing scenario of our application currently in production, to simulate a growth of user.
    To do so, they need to reproduce the behaviour of a user, so the approach is to try extracting from the data produce by Appian (log, monitoring), the number of times a task is performed during a typical day run.
    As we know the number of user connected to the application during the day, we will be able to estimate the average number of time a user performs a task during a day.
    Then our testing team will be able to build a realistic testing scenario, and will be able to level up the number of user, to see at what point the application can support a growth of users.

    For the moment, as the testing team have based their work on the URL called by the web browser, they can only see URL dedicated to the call of a task (as the URL specified by ).
    So the question is : can we determine which task is call with the URL, or is there another way to do what we need ?
    I hope it's clear now.

Children