JBoss Community

kcontext is null when calling the JBPM5 jar via Restful Web Service.

created by Mithil Shukla in jBPM - View the full discussion

Hi All,

 

I am new to JBoss JBPM and I have created the JBPM5 jar  and included the same in the WEB-INF/lib of newly created Web Service.

 

I am successfully able to call the start jbpm file  via Web Service but while executing the jbpm kcontext is populating as null.

 

I am not using the kcontext in any of the JAVA file rather it is called direclty from the workflow (gateway connector diverge: kcontext.getVariable("name"))

 

When I am running the same from the standalone I am able to get the kcontext.

 

Kindly advice me as I need to finish the POC on priority basis.

 

Regards,

Mithil Shukla.

Reply to this message by going to Community

Start a new discussion in jBPM at Community