Paul Driver
de55b02828
Durr, I are frodiwht. I are code.
2011-05-23 12:58:18 -05:00
Paul Driver
edcf276a2f
Check the return value of IKC call to spectre
2011-05-23 12:53:21 -05:00
Scott Walters
ee80f8d011
Docpatch to Workflow / Workflow::Instance so that hopefully people have some chance of figuring out what they need to do to get this puppy to roll.
2010-10-12 13:47:22 -04:00
Colin Kuskie
8b25005515
Allow Workflow activities to do cleanup when they're deleted. Fixes bug #11924 .
2010-10-26 11:44:26 -07:00
Paul Driver
890a94d3d5
Stop realtime run on deleted wf instances
2010-08-13 13:51:08 -07:00
Colin Kuskie
c845849da0
Fix bug #11286 : Tell the difference between end of Workflow, and unable to load WorkflowActivity.
...
Tests are added for new methods. The changes to Workflow::Instance->run are peripherally
tested in Workflow Activity tests.
2009-12-07 13:07:46 -08:00
Graham Knop
9f2db435ba
prevent Workflow from trying to run an activity if it didn't get an object
2009-09-09 01:16:49 -05:00
Colin Kuskie
1e52f21fcb
Fix errors in the getInstancesForObject and code that used it.
2009-05-21 15:20:25 +00:00
Colin Kuskie
c6a0abe8c1
Remove a duplicate subroutine and some syntax problems.
2009-05-21 15:13:26 +00:00
Graham Knop
edf1794a33
some additional methods on WebGUI::Workflow::Instance
2009-05-21 14:49:19 +00:00
Graham Knop
24da723629
updating copyright year
2009-02-20 23:47:30 +00:00
Graham Knop
bf9bd2f0d2
use proper JSON encoding/decoding
2009-02-10 21:41:36 +00:00
JT Smith
be42bb0856
- Added a switch to allow the use of non-WebGUI objects with the Workflow
...
engine.
2009-02-08 21:20:32 +00:00
JT Smith
c9dda0412c
better pod
2008-12-18 23:10:41 +00:00
Colin Kuskie
aabec44de8
Forward porting singleton warn vs error for Cron.
2008-12-08 19:21:12 +00:00
Colin Kuskie
20c8ff13ca
fix POD whitespace problem
2008-10-22 15:52:32 +00:00
Kaleb Murphy
7e368c329c
Fixed workflow checks on spectre so that workflows only error if they are a non realtime or failed realtime and spectre is down.
2008-10-21 21:02:57 +00:00
Colin Kuskie
57029b2a65
encode parameter JSON with canonical so that it is consistent
2008-09-18 21:44:55 +00:00
Kaleb Murphy
b9d7008001
Removed unused param to create sub $skipRealtime
2008-09-17 01:37:02 +00:00
Colin Kuskie
0c62ee3666
Add more tests, and fix the POD documentation for the new method.
2008-09-13 04:30:32 +00:00
Colin Kuskie
5689c08bbc
Fix multiple bugs related to Singleton workflows:
...
Can't use undef in a where clause.
Have to use the same JSON encoding in all places.
Added tests for singleton workflow instances.
2008-09-12 22:59:43 +00:00
Colin Kuskie
d94fb4460b
Update Workflow/Instance.pm POD and one info message
2008-09-11 20:04:11 +00:00
Colin Kuskie
b65c7d4d12
check for valid data before decoding from JSON, undef still exists
2008-09-07 23:15:14 +00:00
Colin Kuskie
f566ccd5c3
rolling back 7389, since it seems to be causing problems with spectre
2008-09-04 04:14:18 +00:00
Colin Kuskie
4ab8102d63
set a default parameter hashref if none is passed to the set method of Workflow::Instance
2008-09-02 01:30:24 +00:00
Graham Knop
6357356355
prevent WebGUI from contacting Spectre needlessly for realtime workflows
2008-08-11 21:52:00 +00:00
Graham Knop
52ebbb05d5
better detection and logging for singleton workflows
2008-08-01 20:34:00 +00:00
Doug Bell
557775bb38
added some more information to an error message.
2008-07-10 16:26:04 +00:00
JT Smith
b476dcc1b0
fixed a bug in the auto start realtime
2008-06-10 20:11:05 +00:00
JT Smith
01d9af6222
The concept of "realtime" workflow has been eliminated. Instead all workflows are now realtime (synchronous), and roll over to be asynchronous if they cannot complete succesfully and immediately.
2008-05-03 05:38:13 +00:00
Graham Knop
9ed284beec
use UTF8 JSON encoding and decoding universally
...
fixed: Import/Export of packages with international text is broken
2008-04-01 14:42:20 +00:00
JT Smith
93b5ca16e4
updating copyright year
2008-02-07 23:28:18 +00:00
Doug Bell
0a17df8174
fixed problem with JSON sanity checking
2008-02-01 17:48:43 +00:00
Colin Kuskie
63668be0d0
Alter Workflow::Instance and Cron to return empty hashrefs instead
...
of undef.
Fix JSON handling in Commerce::Transaction->shippingOptions. This probably isn't a problem
now since it is never called as an accessor.
2008-01-31 05:34:12 +00:00
Colin Kuskie
ada1a76b87
Make same change as in Workflow::Cron in Workflow::Instance.
2008-01-31 05:00:31 +00:00
JT Smith
34fd8c9245
updated webgui to run with Config::JSON 2.04
2008-01-25 05:10:33 +00:00
JT Smith
fa09c41598
replaced return; with return undef;
2008-01-24 21:58:15 +00:00
JT Smith
1b4022205a
converted workflow system to use WebGUI::Pluggable
2008-01-04 19:15:13 +00:00
Colin Kuskie
96178fd70c
first round of Perl::Critic cleanups. Do not use return undef, use a bare return instead
2007-12-05 00:30:43 +00:00
JT Smith
7f87da35f6
fix: workflow engine reporting "error" in status screen even when it's
...
"waiting"
2007-09-20 00:17:03 +00:00
JT Smith
a7dde82421
updated copyright
2007-07-01 16:09:42 +00:00
Colin Kuskie
4de39b7fe5
forward port of getAllInstances fixes, so that it never returns undef but logs warnings instead
2007-06-22 17:55:25 +00:00
Colin Kuskie
016b8a72b8
add missing use line
2007-05-30 21:31:11 +00:00
JT Smith
3259da6750
- Added a realtime workflow option for content publishing.
...
- Added switches to auto request commit operations and skip adding comments.
2007-05-30 16:07:43 +00:00
Doug Bell
fe5bc93a52
Added an error message to SQLForm if we can't find the privileges of the database link
...
fix: Sometimes the error message for the Calendar Update Feeds is part of the content response.
fix: Serial workflows no longer get held up in the queue
2007-05-02 20:05:31 +00:00
JT Smith
b19bf14389
- Simplified Spectre's initial data load, and reduced memory footprint in the
...
process.
2007-02-01 18:48:23 +00:00
JT Smith
2ea58485c9
- Added an option to override the session cookie name.
2006-08-04 15:16:18 +00:00
JT Smith
35e0a63262
- fix: spectre
...
- fix: Spectre tries to delete the same workflow instance twice
- Fixed part of the Spectre memory leak. See gotcha.txt for details.
2006-07-20 00:55:05 +00:00
JT Smith
255ec42344
switcharoo on debug and info
2006-06-09 17:24:06 +00:00
JT Smith
a3b9509090
bug fixes to make webgui work with the wre demo system
2006-05-15 00:23:54 +00:00