starting a workflow using formprocessor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2013 09:26 AM
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?
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?
Labels:
- Labels:
-
Archive
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2013 04:33 AM
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
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
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2013 01:47 AM
Thank you for your answer 
It's working now

It's working now

