cancel
Showing results for 
Search instead for 
Did you mean: 

starting a workflow using formprocessor

raoul
Champ in-the-making
Champ in-the-making
Hello,

According to this discussion, it is possible to start a new workflow instance by posting something to /api/workflow/{workflow-def-name}/formprocessor

Well, my problem is I dont know what to post exactly (i'm using json format and alfresco community 4.2.c).

I have tried to read the Form Developer Guide but it didnt help me much. I'm always raising exceptions on post ("Cannot resolve identifier 'bpm_assignee'" or "Unknown property used in expression").

Is anyone can provide me some post data sample or documentation on what is expected by the workflow form processor?
2 REPLIES 2

afaust
Legendary Innovator
Legendary Innovator
Hello,

you can collect sample data by using a Share UI form (in development) to start a workflow via the "Start Workflow" links in "My Tasks" and inspecting the POST request the form submits. Any sample data someone in the forum can provide will differ from your workflow and this way you'll have the exact content / format you require for your workflow.

Regards
Axel

raoul
Champ in-the-making
Champ in-the-making
Thank you for your answer Smiley Happy

It's working now Smiley Happy