Products | Versions |
---|---|
TIBCO Collaborative Information Manager | - |
Not Applicable | - |
Resolution:
You can use the debug statements in the transitions between the activities as follows:
<Transition FromActivity="ProductAuthorizationWorkitem" ToActivity="MyApplyrulebase">
<Description>Just to print the activity flow for debugging purpose</Description>
<Rule>
<Parameter name="thisStepID" type="string" eval="variable" direction="in">StepID</Parameter>
<Parameter name="result" type="boolean" direction="out"/>
<Condition format="bsh"><![CDATA[
result = true;
System.out.println( "Debug statement:---- Transition from ProductAuthorizationWorkitem to MyApplyrulebase is " + result + ", and Step id is:" + thisStepID) ;
]]></Condition>
</Rule>
</Transition>
In the above example you, it is printing a debug statement stating that the following activity will be called after the present activity(ProductAuthorizationWorkitem), and it will also print the out parameter of the ProductAuthorizationWorkitem activity StepID.
These entire debug statements will be printed in the $WAS_HOME/logs/<server-name>/SystemOut.log file.