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
Freedom
Hi:
I am trying to build a group task using WFconstruct. Here is the syntax provided by the doc:
sharedby => ["user", "user name"];
However, all the users in my wf are stored in an array. Does anyone have suggestion for correct syntax?
thanks
Find more posts tagged with
Comments
Adam Stoller
I believe the syntax is:
sharedby => [["user", "
userid
"],["group", "
groupid
"]);
If your userid list is in an array like
@list
= ("tom", "****", "harry", ...);
then you should be able to swap things around a bit - something like:
my
@sb
;
push(
@sb
, ["user", "$_"]) foreach(
@list)
;
...
sharedby => \
@sb)
;
(the above is
un
tested so you might still need to tweak things a bit).
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
Freedom
Thanks a lot!