cancel
Showing results for 
Search instead for 
Did you mean: 

Start Process Instance via REST call

amitavam123
Champ in-the-making
Champ in-the-making

Hello,

I am very new to Alfresco Process Services and hence request your help. My scenario is this:

 I have a booking process. The process will be instantiated when an external publisher makes a REST invocation by passing 3 parameters. 

How may I implement this requirement?

Thanks.

3 REPLIES 3

mdtabrezmca
Star Contributor
Star Contributor

Hi,

    You can use public rest api provided by APS. to start a process instance from any REST client you can use this API

http://{yourdomain}/activiti-app/api/enterprise/process-instances

for more details about apis. please visit this link Using the REST API Explorer | Alfresco Documentation(List of public apis).

amitavam123
Champ in-the-making
Champ in-the-making

Dear Tabrez,

Thank you for your response. My problem is slightly different. 

I have a process where I have used a Start Message Event(SME). The SME is associated with a Message Definition. In the message definition, I can pass only the message name & ID.

I am confused now as to how to wrap this process model with a REST endpoint, having 3 input parameters and how does that connect to the message definition.

Any tutorial/sample in this regard will be very helpful.

Thanks.

Activiti User Guide  this would be helpful but here they are using signal event.