<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for Moodle Happens</title>
	<link>http://blogs.dfwikilabs.org/pigui</link>
	<description>Moodle development and other great issues</description>
	<pubDate>Mon, 13 Oct 2008 14:54:45 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>Comment on jBPM task nodes development by pigui</title>
		<link>http://blogs.dfwikilabs.org/pigui/2008/03/14/jbpm-task-nodes-development/#comment-1063</link>
		<dc:creator>pigui</dc:creator>
		<pubDate>Fri, 03 Oct 2008 06:56:09 +0000</pubDate>
		<guid>http://blogs.dfwikilabs.org/pigui/2008/03/14/jbpm-task-nodes-development/#comment-1063</guid>
		<description>@Brian
May it can help you.
You can invoke getActorIdExpression()  over a Task instance to get it's actor.

Another useful function I often use is: jbpmContext.getTaskMgmtSession().findTaskInstances(user);
to list all user pendant tasks.</description>
		<content:encoded><![CDATA[<p>@Brian<br />
May it can help you.<br />
You can invoke getActorIdExpression()  over a Task instance to get it&#8217;s actor.</p>
<p>Another useful function I often use is: jbpmContext.getTaskMgmtSession().findTaskInstances(user);<br />
to list all user pendant tasks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jBPM task nodes development by Brian</title>
		<link>http://blogs.dfwikilabs.org/pigui/2008/03/14/jbpm-task-nodes-development/#comment-1056</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 02 Oct 2008 14:34:19 +0000</pubDate>
		<guid>http://blogs.dfwikilabs.org/pigui/2008/03/14/jbpm-task-nodes-development/#comment-1056</guid>
		<description>I figured out #2 by editing task.xhtml and I'm sure I can play around with it more to do #1 in my previous post.

I'm looking through the jbpm javadoc and there doesn't seem be a call to get the next task.

I'm trying to do 2 things.
1.  When a task-node has been completed, If the next task is to the same Actor, then go to the next task instance page.
2.  If not, then display who the next task is queued to.

I imagine I will have get the list of tasks for the current process instance, loop through and locate the next task-node then probably will have to make a db call to get the actorid/pooled actors to see if it matches the current Actor.

Any insight would be appreciated.

Thanks.
Brian</description>
		<content:encoded><![CDATA[<p>I figured out #2 by editing task.xhtml and I&#8217;m sure I can play around with it more to do #1 in my previous post.</p>
<p>I&#8217;m looking through the jbpm javadoc and there doesn&#8217;t seem be a call to get the next task.</p>
<p>I&#8217;m trying to do 2 things.<br />
1.  When a task-node has been completed, If the next task is to the same Actor, then go to the next task instance page.<br />
2.  If not, then display who the next task is queued to.</p>
<p>I imagine I will have get the list of tasks for the current process instance, loop through and locate the next task-node then probably will have to make a db call to get the actorid/pooled actors to see if it matches the current Actor.</p>
<p>Any insight would be appreciated.</p>
<p>Thanks.<br />
Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jBPM task nodes development by pigui</title>
		<link>http://blogs.dfwikilabs.org/pigui/2008/03/14/jbpm-task-nodes-development/#comment-1053</link>
		<dc:creator>pigui</dc:creator>
		<pubDate>Thu, 02 Oct 2008 06:48:36 +0000</pubDate>
		<guid>http://blogs.dfwikilabs.org/pigui/2008/03/14/jbpm-task-nodes-development/#comment-1053</guid>
		<description>@Brian
I never tried to hack jbpm console. Nowadays I have not installed it so I can't read some code to help you. I'm sorry.</description>
		<content:encoded><![CDATA[<p>@Brian<br />
I never tried to hack jbpm console. Nowadays I have not installed it so I can&#8217;t read some code to help you. I&#8217;m sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on jBPM task nodes development by Brian</title>
		<link>http://blogs.dfwikilabs.org/pigui/2008/03/14/jbpm-task-nodes-development/#comment-1044</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 30 Sep 2008 16:34:35 +0000</pubDate>
		<guid>http://blogs.dfwikilabs.org/pigui/2008/03/14/jbpm-task-nodes-development/#comment-1044</guid>
		<description>I have an issue with the jbpm console.  Each time a task-node has ended, the console throws up a comment dialog box.  I'm using the 3.2.2 jbpm-console on JBoss 4.2.2.GA.

Two questions.
1.  Is there a way to short circuit that or allow me to control it so I can make it show up at the bottom of an input web form?
2.  I know the transition state is taken care of by the process definition, is there a way I can encode the submitButton to not only finish/end the task-node, but also redirect the page elsewhere?  Would I write my own java action handler to handle that and how?

Thanks.
Brian</description>
		<content:encoded><![CDATA[<p>I have an issue with the jbpm console.  Each time a task-node has ended, the console throws up a comment dialog box.  I&#8217;m using the 3.2.2 jbpm-console on JBoss 4.2.2.GA.</p>
<p>Two questions.<br />
1.  Is there a way to short circuit that or allow me to control it so I can make it show up at the bottom of an input web form?<br />
2.  I know the transition state is taken care of by the process definition, is there a way I can encode the submitButton to not only finish/end the task-node, but also redirect the page elsewhere?  Would I write my own java action handler to handle that and how?</p>
<p>Thanks.<br />
Brian</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Run a jBPM process by pigui</title>
		<link>http://blogs.dfwikilabs.org/pigui/2008/04/04/run-a-jbpm-process/#comment-1042</link>
		<dc:creator>pigui</dc:creator>
		<pubDate>Tue, 30 Sep 2008 06:45:51 +0000</pubDate>
		<guid>http://blogs.dfwikilabs.org/pigui/2008/04/04/run-a-jbpm-process/#comment-1042</guid>
		<description>@Kodee
I'm sorry, I never user a HSQLDB. You must check into database if this field exists.

Did you used the sql creation script in this blog? It will work only if you are using jBPM 3.2.2... or it can be a problem in your bpm environment configuration.</description>
		<content:encoded><![CDATA[<p>@Kodee<br />
I&#8217;m sorry, I never user a HSQLDB. You must check into database if this field exists.</p>
<p>Did you used the sql creation script in this blog? It will work only if you are using jBPM 3.2.2&#8230; or it can be a problem in your bpm environment configuration.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Run a jBPM process by Kodee</title>
		<link>http://blogs.dfwikilabs.org/pigui/2008/04/04/run-a-jbpm-process/#comment-1036</link>
		<dc:creator>Kodee</dc:creator>
		<pubDate>Mon, 29 Sep 2008 08:12:13 +0000</pubDate>
		<guid>http://blogs.dfwikilabs.org/pigui/2008/04/04/run-a-jbpm-process/#comment-1036</guid>
		<description>@pigui
Thanks pigui,
but where should I check the same?</description>
		<content:encoded><![CDATA[<p>@pigui<br />
Thanks pigui,<br />
but where should I check the same?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Run a jBPM process by pigui</title>
		<link>http://blogs.dfwikilabs.org/pigui/2008/04/04/run-a-jbpm-process/#comment-1035</link>
		<dc:creator>pigui</dc:creator>
		<pubDate>Mon, 29 Sep 2008 07:41:47 +0000</pubDate>
		<guid>http://blogs.dfwikilabs.org/pigui/2008/04/04/run-a-jbpm-process/#comment-1035</guid>
		<description>@Kodee
Error says "Column not found". Did you check it?</description>
		<content:encoded><![CDATA[<p>@Kodee<br />
Error says &#8220;Column not found&#8221;. Did you check it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Run a jBPM process by Kodee</title>
		<link>http://blogs.dfwikilabs.org/pigui/2008/04/04/run-a-jbpm-process/#comment-1033</link>
		<dc:creator>Kodee</dc:creator>
		<pubDate>Mon, 29 Sep 2008 05:32:09 +0000</pubDate>
		<guid>http://blogs.dfwikilabs.org/pigui/2008/04/04/run-a-jbpm-process/#comment-1033</guid>
		<description>Hi Pigui,
  I get the same error mentioned above.

*********************************
Error:

22:01:49,985 ERROR [STDERR] java.sql.SQLException: Column not found: PROCESSDEF0
_.ID_ in statement [select top ? processdef0_.ID_ as ID1_0_, processdef0_.NAME_
as NAME3_0_, processdef0_.DESCRIPTION_ as DESCRIPT4_0_, processdef0_.VERSION_ as
 VERSION5_0_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_0_, processdef0_.
STARTSTATE_ as STARTSTATE7_0_ from JBPM_PROCESSDEFINITION]
22:01:49,989 ERROR [STDERR]     at org.hsqldb.jdbc.Util.sqlException(Unknown Sou
rce)
22:01:49,990 ERROR [STDERR]     at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unk
nown Source)
22:01:49,992 ERROR [STDERR]     at org.hsqldb.jdbc.jdbcStatement.execute(Unknown
 Source)
22:01:49,993 ERROR [STDERR]     at org.hsqldb.util.DatabaseManagerSwing.executeS
QL(Unknown Source)
22:01:49,994 ERROR [STDERR]     at org.hsqldb.util.DatabaseManagerSwing.access$1
000(Unknown Source)
22:01:49,995 ERROR [STDERR]     at org.hsqldb.util.DatabaseManagerSwing$Statemen
tExecRunnable.run(Unknown Source)
22:01:49,997 ERROR [STDERR]     at java.awt.event.InvocationEvent.dispatch(Invoc
ationEvent.java:209)
22:01:49,998 ERROR [STDERR]     at java.awt.EventQueue.dispatchEvent(EventQueue.
java:461)
22:01:49,999 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpOneEventForH
ierarchy(EventDispatchThread.java:242)
22:01:50,000 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpEventsForHie
rarchy(EventDispatchThread.java:163)
22:01:50,001 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpEvents(Event
DispatchThread.java:157)
22:01:50,003 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpEvents(Event
DispatchThread.java:149)
22:01:50,004 ERROR [STDERR]     at java.awt.EventDispatchThread.run(EventDispatc
hThread.java:110)
22:31:59,497 WARN  [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.S
tartState - this operation breaks ==
22:34:14,103 WARN  [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.S
tartState - this operation breaks ==
22:37:35,986 WARN  [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.S
tartState - this operation breaks ==
22:38:26,333 WARN  [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.S

********************************
I checked ur reply for the same! but couldnt solve the issue..

I use HSQL Databse and I have attached my code snippet

jbpmConfiguration = JbpmConfiguration.parseResource("/config/jbpm.cfg.xml");
				JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();
		
		try{
			GraphSession graphSession = jbpmContext.getGraphSession();
			ProcessDefinition processDefinition = graphSession.findLatestProcessDefinition("loanProcess");
			System.out.println("ProcessDEfn Id :"+processDefinition.getId());
			
			ProcessInstance instance = new ProcessInstance(processDefinition);
			prepareTestData(instance.getContextInstance());
			Token token = instance.getRootToken();
			token.signal();

Could you please sort out the issue! 

Cheers,
Kodee</description>
		<content:encoded><![CDATA[<p>Hi Pigui,<br />
  I get the same error mentioned above.</p>
<p>*********************************<br />
Error:</p>
<p>22:01:49,985 ERROR [STDERR] java.sql.SQLException: Column not found: PROCESSDEF0<br />
_.ID_ in statement [select top ? processdef0_.ID_ as ID1_0_, processdef0_.NAME_<br />
as NAME3_0_, processdef0_.DESCRIPTION_ as DESCRIPT4_0_, processdef0_.VERSION_ as<br />
 VERSION5_0_, processdef0_.ISTERMINATIONIMPLICIT_ as ISTERMIN6_0_, processdef0_.<br />
STARTSTATE_ as STARTSTATE7_0_ from JBPM_PROCESSDEFINITION]<br />
22:01:49,989 ERROR [STDERR]     at org.hsqldb.jdbc.Util.sqlException(Unknown Sou<br />
rce)<br />
22:01:49,990 ERROR [STDERR]     at org.hsqldb.jdbc.jdbcStatement.fetchResult(Unk<br />
nown Source)<br />
22:01:49,992 ERROR [STDERR]     at org.hsqldb.jdbc.jdbcStatement.execute(Unknown<br />
 Source)<br />
22:01:49,993 ERROR [STDERR]     at org.hsqldb.util.DatabaseManagerSwing.executeS<br />
QL(Unknown Source)<br />
22:01:49,994 ERROR [STDERR]     at org.hsqldb.util.DatabaseManagerSwing.access$1<br />
000(Unknown Source)<br />
22:01:49,995 ERROR [STDERR]     at org.hsqldb.util.DatabaseManagerSwing$Statemen<br />
tExecRunnable.run(Unknown Source)<br />
22:01:49,997 ERROR [STDERR]     at java.awt.event.InvocationEvent.dispatch(Invoc<br />
ationEvent.java:209)<br />
22:01:49,998 ERROR [STDERR]     at java.awt.EventQueue.dispatchEvent(EventQueue.<br />
java:461)<br />
22:01:49,999 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpOneEventForH<br />
ierarchy(EventDispatchThread.java:242)<br />
22:01:50,000 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpEventsForHie<br />
rarchy(EventDispatchThread.java:163)<br />
22:01:50,001 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpEvents(Event<br />
DispatchThread.java:157)<br />
22:01:50,003 ERROR [STDERR]     at java.awt.EventDispatchThread.pumpEvents(Event<br />
DispatchThread.java:149)<br />
22:01:50,004 ERROR [STDERR]     at java.awt.EventDispatchThread.run(EventDispatc<br />
hThread.java:110)<br />
22:31:59,497 WARN  [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.S<br />
tartState - this operation breaks ==<br />
22:34:14,103 WARN  [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.S<br />
tartState - this operation breaks ==<br />
22:37:35,986 WARN  [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.S<br />
tartState - this operation breaks ==<br />
22:38:26,333 WARN  [ProxyWarnLog] Narrowing proxy to class org.jbpm.graph.node.S</p>
<p>********************************<br />
I checked ur reply for the same! but couldnt solve the issue..</p>
<p>I use HSQL Databse and I have attached my code snippet</p>
<p>jbpmConfiguration = JbpmConfiguration.parseResource(&#8221;/config/jbpm.cfg.xml&#8221;);<br />
				JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext();</p>
<p>		try{<br />
			GraphSession graphSession = jbpmContext.getGraphSession();<br />
			ProcessDefinition processDefinition = graphSession.findLatestProcessDefinition(&#8221;loanProcess&#8221;);<br />
			System.out.println(&#8221;ProcessDEfn Id :&#8221;+processDefinition.getId());</p>
<p>			ProcessInstance instance = new ProcessInstance(processDefinition);<br />
			prepareTestData(instance.getContextInstance());<br />
			Token token = instance.getRootToken();<br />
			token.signal();</p>
<p>Could you please sort out the issue! </p>
<p>Cheers,<br />
Kodee</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Will NWiki be included Moodle 2.0 ? by pigui</title>
		<link>http://blogs.dfwikilabs.org/pigui/2008/02/06/will-nwiki-be-included-moodle-20/#comment-1005</link>
		<dc:creator>pigui</dc:creator>
		<pubDate>Sat, 20 Sep 2008 16:22:00 +0000</pubDate>
		<guid>http://blogs.dfwikilabs.org/pigui/2008/02/06/will-nwiki-be-included-moodle-20/#comment-1005</guid>
		<description>@Jessica McKean
I can't access to your screenshot....</description>
		<content:encoded><![CDATA[<p>@Jessica McKean<br />
I can&#8217;t access to your screenshot&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Will NWiki be included Moodle 2.0 ? by Jessica McKean</title>
		<link>http://blogs.dfwikilabs.org/pigui/2008/02/06/will-nwiki-be-included-moodle-20/#comment-991</link>
		<dc:creator>Jessica McKean</dc:creator>
		<pubDate>Fri, 19 Sep 2008 17:39:07 +0000</pubDate>
		<guid>http://blogs.dfwikilabs.org/pigui/2008/02/06/will-nwiki-be-included-moodle-20/#comment-991</guid>
		<description>Hello,

I found your blog in a Google search. We installed your wiki but we are not sure if it is working properly. Please see the screen shots in the following links: http://jessica.lynn.bailey.googlepages.com/wiki.jpg. It appears we do not have a complete text box editor and the text box is very small. Are we missing something?

We are a small school with no programming staff so we would really appreciate your assistance.

Thanks,
Jessica McKean</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I found your blog in a Google search. We installed your wiki but we are not sure if it is working properly. Please see the screen shots in the following links: <a href="http://jessica.lynn.bailey.googlepages.com/wiki.jpg." rel="nofollow">http://jessica.lynn.bailey.googlepages.com/wiki.jpg.</a> It appears we do not have a complete text box editor and the text box is very small. Are we missing something?</p>
<p>We are a small school with no programming staff so we would really appreciate your assistance.</p>
<p>Thanks,<br />
Jessica McKean</p>
]]></content:encoded>
	</item>
</channel>
</rss>
