cancel
Showing results for 
Search instead for 
Did you mean: 

Activiti Explorer: Create a process instance from url

jcosano
Champ in-the-making
Champ in-the-making
Is it possible create a process instance using a activiti explorer url?

For invoke task is very useful this:
http://localhost:8080/activiti-explorer/start?taskId=135

can i have something similar for create a process instance?
I try with:
http://localhost:8080/activiti-explorer/processes#start?id=vacationRequest:1
but not working.
7 REPLIES 7

davidcognite
Star Contributor
Star Contributor
It is not possible. That feature has been planned, I just haven't got around to writing it yet. I'll see if I can add it into the code before the next release…

jcosano
Champ in-the-making
Champ in-the-making
I need this feature because I don't like that users can start all process, I have process that is dangerous if one standard user starts (and no knows what are doing…)
Then, I modified processes.xml replacing user by admin authentication.
My idea, is put the link that creates process instance in a public site, user fill form and flow starts…
I don't know if it is incompatible "admin authentication" for process page & create process instance by standard user.

Thank you for your answer! (and obviously, for you great job!)

nils1
Champ in-the-making
Champ in-the-making
Seems like the REST API is what you are looking for, have a look at the user guide: http://www.activiti.org/userguide/#N10F9B

Cheers,
Nils

jcosano
Champ in-the-making
Champ in-the-making
I will try using rest api….

I prefer use only a url and avoid to create a own form, may be can use it while url is not done.

thanks!

davidcognite
Star Contributor
Star Contributor
I agree with Nils, if you're looking to do something that is catered for by the Explorer interface (such as finer grain auth), the REST API is probably the way to go.

However, I think there's still a use case for jumping straight to a create process task form in Activiti-Explorer (just as there was with the task form). I've added the code to achieve this and will commit it later today.

jcosano
Champ in-the-making
Champ in-the-making
Which is url associate with this new use case?

nancygale12
Champ in-the-making
Champ in-the-making
Hmm……it seems to be considerable……..! & I also agree with above info.

Thanks for sharing
Organizational Improvement