JBoss Community

Re: How to prevent user code be cached?

created by Bo meng in jBPM - View the full discussion

Thanks a lot Michael,

Does that mean if I have a below jbpl file, I need set like that?

<?xml version="1.0" encoding="UTF-8"?>

<process name="retrieveCatalog" xmlns="http://jbpm.org/4.0/jpdl"> 

<start>

 

<transition to="retreiveCatalogRequest"/>

 

</start>

 

 

<custom name="retreiveCatalogRequest" class="com.points.services.workflow.activity.MakeServiceRequest" cache="disabled">

 

<property name="requestName">

 

<string value="retrieveCatalog"/>

 

</property>

 

<property name="requestData">

 

<map>

 

<entry>

 

<key><string value="application"/></key>

 

<value><object expr="#{requestData.application}"/></value>

 

</entry>

 

<entry>

 

<key><string value="product"/></key>

 

<value><object expr="#{requestData.product}"/></value>

 

</entry>S

 

<entry>

 

<key><string value="loyaltyProgram"/></key>

 

<value><object expr="#{requestData.loyaltyProgram}"/></value>

 

</entry>

 

<entry>

 

<key><string value="catalogKey"/></key>

 

<value><object expr="#{requestData.type}"/></value>

 

</entry>

 

</map>

 

</property>

 

<property name="springContextPath">

 

<string value="serviceApplicationContext.xml"/>

 

</property>

 

<property name="responseKey">

 

<string value="catalogResponse"/>

 

</property>

 

 

<transition to="retreiveCatalogResponse"/>

 

</custom>

 

 

 

Reply to this message by going to Community

Start a new discussion in jBPM at Community