Hello all,
I am building a site that is basically a task manager and project management tool that manages tasks and groups them by projects. I am trying to use rules to automatically generate a group of tasks (seperate nodes of content type "task") whenever a user creates a project (nodes of content type "project") using Case Tracker. So basically, I need a user to be able to login create a project and have a default set of tasks assigned to that user and project. The problem I am running into is that Rules WILL create the node/task however WILL NOT dynamically populate the project it belongs to or assign it to the user that created it. Both project and assigned user are CCK fields, btw. Any help would be GREATLY appreciated.
Thanks,
Nick
Comments
Example in the docs
Hya
There was a descussion with a very similar problem: http://groups.drupal.org/node/71243
Even better, there is now an example that does exactly this that you can download, learn from and modify yourself: http://drupal.org/node/820938
Good luck!
//Johan Falk, NodeOne, Sweden
I used the example because
I used the example because the discussion is too complicated for me. However, the only issue that I am running into is assigning some Case Tracker values. When the Project content type is created I need the Task to be assigned to the user that created the Project and the Task to be assigned to the same create Project. I assume that this would need to be done by executing php within Rules module but I am having trouble figuring out how to frame that and what variables to use being Case Tracker is involved.
Case Tracker module?
I'm not sure that Case Tracker supports token and stuff as normal CCK fields would. You could consider building your own node type, which probably would make it easier to manipulate its content – but then you'll have to build views and rules to manage the workflow for the issues as well.
Sorry for the bad news. :-/
//Johan Falk, NodeOne, Sweden