Hello,
I would like Asana to generate a new sequential job ticket # every time a new task is created. Unfortunately, this is not a standard feature in Asana, so Asana recommended creating a Microsoft Flow. I'm new to this, but the instructions they provided at the link below are very confusing (missing words, typos, etc.). I followed every step and nothing works. Is there some key information missing from the instructions?
https://paper.dropbox.com/doc/microsoft-Custom-IDs-using-Microsoft-Flow-FsajE38C2BpaloyJBsXra
Thank you!
Oh -- I guess I'd have to be a computer programmer to figure this out. None of that makes sense to me. It's too bad Asana can't provide this common feature in their software.
Hi @MKE-Asana-User,
Since there is no global variable in PowerAutomate, so the increased job ticket ID for Asana is not simple. The only way could do is get all tasks, then use Apply to each action to loop them and find the max ID:
1. Create trigger - When a task is created
2. List all tasks of Asana by using API:
3. Cause Asana doesn't support Order By, so we should use Apply to each action to loop them and find the max ID;
Asana API order by - Stack Overflow
python - How to find the maximum number in a list using a loop? - Stack Overflow
4. Then update the task details via the link you provided with an ID that sub 1 based on the max ID in step 3.
Best Regards,
Community Support Team _ Lin Tu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492