The Omni Group Forums

The Omni Group Forums (http://forums.omnigroup.com/index.php)
-   OmniFocus Extras (http://forums.omnigroup.com/forumdisplay.php?f=44)
-   -   Verify Next Actions Exist (http://forums.omnigroup.com/showthread.php?t=4089)

curt.clifton 2007-07-05 09:18 PM

Verify Next Actions Exist
 
I've posted a "Verify Next Actions Exist" script to [URL="http://www.rose-hulman.edu/~clifton/software.html#VerifyNA"]my software downloads[/URL] page. This scripts scans all projects and action groups to identify those without an identified next action.

Share and enjoy!

SpiralOcean 2007-07-08 10:43 AM

Dude! You are my hero!

Nice job on this.

One suggestion...
I added a line after line 131... in the accumulateMissingNAsTask handler

set end of accum to name -- CONSIDER: build better identifying string here
set note of theTask to note of theTask & "NoAction"

This will place a note in the project.

Now after this has run, I can go to the search field and enter
NoAction...
All my projects without actions show up!

It may be helpful to have a script that clears that out of the note, but right now I'm comfortable with doing it by hand.

Thanks for the code!

SpiralOcean 2007-07-08 10:49 AM

my addition adds it to any tasks that had children that no longer have tasks... so a project can have children that at one point had tasks.

-MyParentProject
--myChildTask - tagged as no action
---myGrandTask -complete

May be a bug in the script... I'll look into it more

SpiralOcean 2007-07-08 10:49 AM

I need to search for that note before it adds the note... otherwise... it will continue to append the note

SpiralOcean 2007-07-08 10:56 AM

[QUOTE=SpiralOcean]I need to search for that note before it adds the note... otherwise... it will continue to append the note[/QUOTE]

Here is the fix:
if note of theTask does not contain "NoActions" then
set note of theTask to note of theTask & "NoActions"
end if

SpiralOcean 2007-07-08 10:57 AM

[QUOTE=SpiralOcean]my addition adds it to any tasks that had children that no longer have tasks... so a project can have children that at one point had tasks.

-MyParentProject
--myChildTask - tagged as no action
---myGrandTask -complete

May be a bug in the script... I'll look into it more[/QUOTE]

Looks like the script is treating this as a project... which... maybe it is a project.

Sub-projects of a project.

SpiralOcean 2007-07-08 11:44 AM

This is huge! Huge! It was a large missing portion of my workflow. I know Omni is working on this one, but what a relief to be able to see projects that need to be completed or a next action assigned!

You win hero of the week!

SpiralOcean 2007-07-08 02:29 PM

There is a slight bug with this...

it will not detect projects that have never had an action associated with it.

curt.clifton 2007-07-08 07:52 PM

Good catch. I'll tweak the recursion to check top-level projects without children. Also, great idea annotating the projects to allow searching for those missing a next action! I'll incorporate that into the updated script.

curt.clifton 2007-07-08 08:22 PM

I've posted the updated script to [URL="http://www.rose-hulman.edu/~clifton/software.html#VerifyNA"]my software downloads page[/URL]. The script now catches top-level projects without any children. It also prefixes the name of offending projects with "Missing NA". The particular prefix is controlled by a property in the script. You can set the property to use the empty string if you want to disable this feature.

Share and enjoy!


All times are GMT -8. The time now is 11:47 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.