Post

2 followers Follow
0
Avatar

Custom Action - Add New Task

I have a custom task at the organizational level to create a new task.  My first action is to create a new item of type "Item", and this is working fine.  The problem is I want to specify the resource to whom the task is assigned, but I don't see this as an available feed in the custom action fields?

Am I missing something?

Chris Corbin Answered

Please sign in to leave a comment.

4 comments

0
Avatar

Hi Chris,

 

Thanks for reaching out! 

The reason that you don't see "Resource" as a field - it is because resource is a a link object and not a field at the work item level. Resource is a link object between a Work Item and a User. Basically what you need to do is to create the task first and then have another action of "New Item" and select "Resource" as the item type. Then you need to specify the Work Item created (in your use case it should probably be NewObject1) and the specific resource (if it is someone specific you need to use their username within quotes).

If you want to get a better theoretical understanding of why Resource is not a field but rather a Link object I would suggest looking on Clarizen data model here: http://usermanual.clarizen.com/15-4-3-1-data-model

In addition you can always hop on to one of our Advanced Q&A webinars which are being held every Monday and Friday - http://www.clarizen.com/live-demo.html

 

Regards,

Tamir

Tamir Avital 0 votes
Comment actions Permalink
0
Avatar

So simple!  That data model clears up alot, not sure how I haven't stumbled upon that in the past.  It is being printed and put on my wall!

Thanks,

Chris

Chris Corbin 0 votes
Comment actions Permalink
0
Avatar

This seems to work, but only if the resource is already assigned to the project. Is there a way to assign any resource?

Jeremy Tiley 0 votes
Comment actions Permalink
0
Avatar

Managed to resolve this myself....I think it was actually an error in my custom action

Jeremy Tiley 0 votes
Comment actions Permalink