Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Group Task, For group workflow
Bhargav Coca
I am TS6.5 on Win 2k. I am using the out of box workflow, Everything is fine, The only thing is the array of people from the group is not going to email task, Has anyone done a group workflow from out of the box? Here is a small snippet for reviewer and email task. Any suggestions please.
declare_task("review_$i",
name => $review_task_name,
description => $review_task_description,
type => ($sharedby ? "grouptask" : "usertask"),
# The reviewer will be set later.
owner => $sharedby,
sharedby => $sharedby,
areavpath => $iw_workarea,
lock => ($review_lock ? TRUE : FALSE),
transferonly => ($review_transfer_only ? TRUE : FALSE),
readonly => TRUE);
declare_task("email_reviewer_$i",
name => $email_reviewer_task_name,
description => $email_reviewer_task_description,
type => ($sharedby ? "grouptask" : "usertask"),
owner => $iw_author,
areavpath => $iw_workarea,
timeout => "+000001", # 1 minute
command => "$iwperl $email_ipl -t \""
. $review_task_name . "\"",
variables => {
"iw_mailheader_pt" => $reviewer_email_header_template,
"iw_mailbody_pt" => $reviewer_email_body_template,
"iw_mailbody_text_pt" => $reviewer_email_text_body_template
Thank you
Find more posts tagged with
Comments
nipper
Can you put the WF in debug mode and save the XML and port that ? Sometimes it is easier to debug fexternal tasks from the XML than from the WFT.
ALso, when you isolate the ipl steatement you can try to run it (adding a task id and job id) and post the results as well.
Andy
Bhargav Coca
Yes Andy, I have tried it, but my email task is not being called at all. I was wondering if my type definition for my email task is right?
Thank you
jbonifaci
Well, the type is definitely wrong. It should be "externaltask", as it is an externaltask, not a usertask or grouptask.
~Jeff