I'm trying to write a AIR app that can retrieve processes and tasks from workspace, and once a task is selected, open the associated form. Currently I can retrieve the tasks and have the ability to forward and lock them and such but cannot open the form. I have tried using the TaskForm object and it's 'load()' method but it uses ExternalInterface calls which do not work in AIR.
By debugging my app, I can dig into the TaskForm load() method call which tries to open the form. It gets a result object from a token which has a form url variable which looks something like this: http://localhost:8080/workspace-server/documents/7833007702090523601-118. I've tried numberous ways to navigate to these url's though and I always get a message saying the requested resource is unavailable.
Any help would be greatly appreciated.
When a task render is requested by a flex app, on the server the document is stored in an http session attribute using the url suffix as the attribute name. So it will only work if your request is on the same http session as your render request. I don't know how to solve your problem but that is likely the cause.