How to start flowable process from Alfresco rule script

Hi. I am newbee in Flowable.
Can you please provide an example script which starts flowable process.
My Flowable admin Process API Endpoint configuration shows:
Name: Flowable Process app Description: Flowable Process REST config
Server address: http://myflowable.com Server port: 8080
Context root: iwaybpm-task REST root: process-api
When I start process using Flowable task I can see POST request on http://myflowable.com:8080/flowable-task/app/rest/process-instances/
with appropriate JSON.

Thank you in advance

Hi,

You can start a new process instance by doing a call to http://myflowable.com:8080/flowable-task/process-api/runtime/process-instances:

http://www.flowable.org/docs/userguide/index.html#_start_a_process_instance_2

Best regards,

Tijs