Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Workflow » Explicit OR-Split
Re: Explicit OR-Split [message #2445 is a reply to message #2440] Sun, 21 February 2010 19:28 Go to previous messageGo to previous message
ljkbrost is currently offline  ljkbrost
Messages: 59
Registered: April 2006
Member
Hi Tony,

Took the patch for a test spin and it had a problem. When it's evaluating the multiple 'OR' cases, the arcs are pulled from the DB in alphabetically order. Depending on the order you might get the code to evaluate:

Pre-condition
Default case
Pre-condition

versus

Pre-condition
Pre-condition
Default case

I fixed this by modifying the code to order by 'pre_condition DESC, place_name ASC'. It on line 139 of workflow_engine.class.inc.

Once I fixed that problem the testing was positive. It looks like a good enhancement.

Cheers,


Kyle Brost
----
www.softelephant.com
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Pending workflow task on Home Page
Next Topic: AUTO transitions
Goto Forum:
  


Current Time: Thu May 16 04:01:24 EDT 2024

Total time taken to generate the page: 0.00987 seconds