External link to a tasklist specific form is not working correctly

Hi.
I’m trying to make a link from external web page directly to a form inside the tasklist app.

The link works and the form is shown correctly, but, as soon as I claim the task, something goes wrong and the form disappears.
I think this may be due to some javascript missing initializations when coming from an external link.

Example of the link:
http://server/camunda/app/tasklist/default/#/?task=6276a1c0-953f-11e8-bbe8-1e350a005b4b

Hi @Mizar01,

Did you try to include filter parameter in your url? like below

http://server/camunda/app/tasklist/default/#/?filter=<filter_id>&task=6276a1c0-953f-11e8-bbe8-1e350a005b4b

Where <filter_id> should be filter id of a defined filter which always returns the specified task (either it is assigned or unassigned).

I tried, but nothing changed. Anyway the filter is automatically added to the url once inside the tasklist app. By the way final url is instead removing the task_id, so any other action in the page returns to index.

May we know the Criteria of your filter? and is it “Accessible by all users”?

I’m logged as admin.

Did you found that your links are working?

yes,
Please, make sure that the “Criteria” of your filter always returns your specified task.

Try opening your filter & see if your task is listed in the results or not…

Maybe I’m missing something.

I open the filter ‘All’. This filter has the ID: 5c41ffb5-d4f3-11e7-b8be-1e350a005b4b as stated in the url.
After that i click on the task with id: 627f545e-953f-11e8-bbe8-1e350a005b4b

The final link created is: http://server/camunda/app/tasklist/default/#/?filter=5c41ffb5-d4f3-11e7-b8be-1e350a005b4b&sorting=%5B%7B%22sortBy%22:%22created%22,%22sortOrder%22:%22desc%22%7D%5D&task=627f545e-953f-11e8-bbe8-1e350a005b4b

This link is working if opened directy.

If I remove the ‘sorting’ parameter it does not work. So maybe including also sorting solve the problem?

It should works with only filter & task parameters…