I would like to know if there are APIs available for creating adhoc workflow and triggering it dynamically .
The scenario is..... from WebDynpro application, I would like to create the workflow with simple approval cycle(it may be of 2 steps only.) for some kind of document processing and content manager should approve that to convert it to a final version.
I was thinking of using Collaboration Tasks for this purpose but for that also I've not found any APIs.
So, can anyone direct me to make this thing work??