Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Ownership of a cgi task following a group task
KeithB
Is it possible to change the ownership of a CGI task that immediately follows a GROUP task because the fact that you have to initially set the owner of a CGI task somewhat negates the use of the previous group task. A member of the group comes along task ownership of the group task the workflow progresses and hey presto the following task disappears because it isnt owned by the person who took the group task.
Are there any command line tools or perl methods to set the ownership of a task once the workflow has been instantiated?
Find more posts tagged with
Comments
Migrateduser
You can set the owner of a task that has not become active yet with the iwsettaskownerandarea CLT. There's also a method in WFtask.pm called SetOwner. You'd need to put an externaltask after your grouptask and before your cgitask in order to perform the ownership change, though. Then you would lose the "immediate" potential for the cgitask, but it looks like you weren't able to utilize that anyway. In order to figure out who took ownership of the grouptask, you'd probably have to parse the output of iwgetwfobj or maybe GetOwner in WFtask.pm will work. If I'm wrong, someone else will chime in.
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com
KeithB
Thanks for that, it looks like im going to have to spend more time looking in /iw-home/bin and less time looking in the documentation.
Migrateduser
I think you'll find that there are many utility-type scripts in the iw-home/bin path that are shipped with the product that are not documented. Quite a goldmine of helpful utilities.
Dave Smith
Sr. Software Engineer
Nike, Inc.
(503) 671-4238
DavidH.Smith@nike.com
mogoo
I'm trying to change ownership after a group task, and in subsequent tasks, as well.
Do you know anything about the <resets> subelement? (page 59 of v5.0 wf developer's guide) It looks like you could reset the task owner from there, but I haven't been able to figure out exactly how it works yet.
Any thoughts?
maureen