Created
August 20, 2009 21:36
-
-
Save anonymous/171406 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sub pa_installWorkflow { | |
my $session = shift; | |
print "\tAdd Passive Analytics Workflow... " unless $quiet; | |
my $workflow = WebGUI::Workflow->create( | |
$session, | |
{ | |
title => 'Analyze Passive Analytics', | |
mode => 'singleton', | |
type => 'None', | |
description => 'Manual changes to this workflow will be lost. Please only use the Passive Analytics screen to make changes', | |
}, | |
'PassiveAnalytics000001', | |
); | |
my $summarize = $workflow->addActivity('WebGUI::Workflow::Activity::SummarizePassiveAnalytics'); | |
my $bucket = $workflow->addActivity('WebGUI::Workflow::Activity::BucketPassiveAnalytics'); | |
$summarize->set('title', 'Perform duration analysis'); | |
$bucket->set( 'title', 'Please log entries into buckets'); | |
$workflow->set({enabled => 1}); | |
print "DONE!\n" unless $quiet; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment