Post

1 follower Follow
0
Avatar

Conditional Custom Action to add new set of tasks.

Hi All,

Thanks for your help in advance.

What I am trying to achieve is to add 6 months of tasks as a custom action. This is easily done.

Ideally I would like it to be conditional, If the say "Jan :2013" (task name) exists do not add a new set tasks.

Initially I thought using the findobject function would return the task name.. on the parent object... although findobject is datebase wide. (example link javascript:nicTemp();

Does anyone have any ideas how to do this?

Many thanks

Jamie

Import from old forum Answered

Please sign in to leave a comment.

2 comments

0
Avatar

Hi,

There are two options to handle it:

  1. Create a ref to task custom field at the project level which will be accommodated the first time you create such a task and then the condition should be whether this field is null

  2. The name of the task(or any other string field on the task) would aggregate the name of the parent project too and then you can use indeed the FindObject() function.

Regards

Rachel

Import from old forum 0 votes
Comment actions Permalink
0
Avatar

Hi Rachel,

Thank for the reply.

That's exactly what I needed to do.

Regards,

Jamie

Import from old forum 0 votes
Comment actions Permalink