preparing for 7.0.8 bugfix cycle

- Fixed a couple of minor bugs with the default values of the Request
   Approval for Version Tag workflow activity.
 - Updated the hoverhelp to denote that you can use ranges in the WebGUI
   scheduler.
This commit is contained in:
JT Smith 2006-09-15 04:58:03 +00:00
parent a1bf6a2b21
commit 7852441151
7 changed files with 171 additions and 19 deletions

View file

@ -101,11 +101,19 @@ Removes this workflow and everything associated with it..
sub delete {
my $self = shift;
# delete crons
foreach my $cron (@{$self->getCrons}) {
$cron->delete;
}
foreach my $instance (@{$self->getInstances}) {
$instance->delete;
}
foreach my $activity (@{$self->getActivities}) {
$activity->delete;
}
# delete instances
$self->session->db->deleteRow("Workflow","workflowId",$self->getId);
$self = undef;
}

View file

@ -70,8 +70,9 @@ sub definition {
},
doOnDeny => {
fieldType=>"workflow",
defaultValue=>"pbwf",
defaultValue=>"pbworkflow000000000006",
label=>$i18n->get("do on deny"),
type=>"WebGUI::VersionTag",
hoverHelp => $i18n->get("do on deny help")
}
}

View file

@ -2,7 +2,7 @@ package WebGUI::i18n::English::Workflow_Cron;
our $I18N = {
'day of week help' => {
message => q|Which day of the week do you want this workflow triggered? The range is between 0 and 6 where 0 is Sunday. You can specify a specific day like "0" or "2". You may also specify all days of the week by "*". And finally you can specify a list of days of the week like "1,5,6".|,
message => q|Which day of the week do you want this workflow triggered? The range is between 0 and 6 where 0 is Sunday. You can specify a specific day like "0" or "2". You can specify a range like "3-6". You may also specify all days of the week by "*". And finally you can specify a list of days of the week like "1,5,6".|,
context => q|the hover help for the month of year field|,
lastUpdated => 0,
},
@ -14,7 +14,7 @@ our $I18N = {
},
'month of year help' => {
message => q|Which month of the year do you want this workflow triggered? The range is between 1 and 12. You can specify a specific month like "2" or 12". You may also specify all months by "*". You can specify intervals like "*/3" (every 3 months). And finally you can specify a list of months like "1,5,11".|,
message => q|Which month of the year do you want this workflow triggered? The range is between 1 and 12. You can specify a specific month like "2" or 12". You can specify a range like "3-6". You may also specify all months by "*". You can specify intervals like "*/3" (every 3 months). And finally you can specify a list of months like "1,5,11".|,
context => q|the hover help for the month of year field|,
lastUpdated => 1154368718,
},
@ -26,7 +26,7 @@ our $I18N = {
},
'day of month help' => {
message => q|Which day of the month do you want this workflow triggered? The range is between 1 and 31. You can specify a specific day like "2" or 12". You may also specify all days by "*". You can specify intervals like "*/3" (every 3 days). And finally you can specify a list of days like "1,5,11".|,
message => q|Which day of the month do you want this workflow triggered? The range is between 1 and 31. You can specify a specific day like "2" or 12". You can specify a range like "3-6". You may also specify all days by "*". You can specify intervals like "*/3" (every 3 days). And finally you can specify a list of days like "1,5,11".|,
context => q|the hover help for the day of month field|,
lastUpdated => 0,
},
@ -38,7 +38,7 @@ our $I18N = {
},
'hour of day help' => {
message => q|Which hour of the day do you want this workflow triggered? The range is between 0 and 23. You can specify a specific hour like "0" or 12". You may also specify all hours by "*". You can specify intervals like "*/3" (every 3 hours). And finally you can specify a list of hours like "1,5,17,21".|,
message => q|Which hour of the day do you want this workflow triggered? The range is between 0 and 23. You can specify a specific hour like "0" or 12". You may also specify all hours by "*". You can specify a range like "3-6". You can specify intervals like "*/3" (every 3 hours). And finally you can specify a list of hours like "1,5,17,21".|,
context => q|the hover help for the hour of day field|,
lastUpdated => 0,
},
@ -50,7 +50,7 @@ our $I18N = {
},
'minute of hour help' => {
message => q|Which minute of the hour do you want this workflow triggered? The range is between 0 and 59. You can specify a specific minute like "0" or 12". You may also specify all minutes by "*". You can specify intervals like "*/3" (every 3 minutes). And finally you can specify a list of minutes like "1,5,17,24".|,
message => q|Which minute of the hour do you want this workflow triggered? The range is between 0 and 59. You can specify a specific minute like "0" or 12". You may also specify all minutes by "*". You can specify a range like "3-6". You can specify intervals like "*/3" (every 3 minutes). And finally you can specify a list of minutes like "1,5,17,24".|,
context => q|the hover help for the minute of hour field|,
lastUpdated => 0,
},