Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
how to init workflow with form?
Ulvi_Jogioja
Im a little stuck with this problem...Description:We have a workflow map and a form template assigned to it.Task:Initiate new workflow and assign form parameters Here is a code i wrote: LivelinkService serv = LivelinkService.getInstance(); int retCode; LAPI_WORKFLOW lapiWorkflow = new LAPI_WORKFLOW( serv.getApiSession() ); LLValue map = new LLValue(); retCode = lapiWorkflow.LoadMap( 0, 25577, 1, map ); if( retCode != 0 ) { throw new Exception(); } LLValue workId = new LLValue(); retCode = lapiWorkflow.StartWorkflow( map, "new task name", null, workId ); if( retCode != 0 ) { throw new Exception(); } int workIdValue = workId.toInteger(); retCode = lapiWorkflow.FreeMap( map ); if( retCode != 0 ) { throw new Exception(); } Please help, what calls should I perform to assign form parameters to newly created workflow? Regards, Timur
Find more posts tagged with
Comments
There are no comments yet