After extracting one of the OOTB Activiti workflows and renaming it, I am now able to deploy and execute a workflow in CE4.2 and CE5.0.a. However, the example I used was the Adhoc workflow which does very little. When I change the workflow using Eclipse by including a Alfresco Script task that includes a log command it loads but fails to run.
What I am after is an Activity workflow (for 5.0.a or 4.2.f) that calls a web service, passing a reference to a file to which the workflow is attached; such that the service can access the file and read its content.
Alternatively invoke a script that opens the files, reads three properties and sends them to a web service.