cancel
Showing results for 
Search instead for 
Did you mean: 

WebServices and workflow

nowhere
Champ in-the-making
Champ in-the-making
Hi all,
I was looking for a way to interact with alfresco workflows by webservices…can you tell me if it's possible and where I should look for documentation about it?

I'm not new at alfresco workflow, but I'm newbie dealing with webservices.
Thanks for any suggestion 🙂

Greet,
Nowhere
4 REPLIES 4

norgan
Champ in-the-making
Champ in-the-making
Hi nowhere,
you can use the webscript api to do access spring beans to steer workflows (and almost everything else in Alfresco). In the Developer guide by Jeff Potts, there is a good example, I recall. Should be something on the WIKI as well.

Norgan

nowhere
Champ in-the-making
Champ in-the-making
Hi Norgan,
Thanks for your reply!
I know about webscripts and I already did it. But now I'm in a different scenario: let's say I have two alfresco instances, one local, one remote.
I have a workflow started on first and I want to start another on the second as soon as a task in completed in first. So I want to start the second remote workflow from a class extending JBPMSpringActionHandler with call to remote alfresco. I could use HttpURLConnection class to recall a webscript, but I was wondering to face the issue with webservices. Any suggestion about the best or an alternative way?


Greetings,
Nowhere

norgan
Champ in-the-making
Champ in-the-making
Out of my depth there, sorry Smiley Happy

nowhere
Champ in-the-making
Champ in-the-making
Thanks for interesting Smiley Happy