Flummoxed in taskpaper land

I regularly use Taskpaper to create project templates from Shortcuts after adding variables.

The below is the first line of a Taskpaper template which works perfectly fine except for the part in italics.

Review of DocName @autodone(true) @Parallel(true) @context(Compliance Stream : Documented Information) @context(Mindset : Shallow Work) @due(DueDate)

The second Mindset Context tag gets applied perfectly, the Compliance Stream tag in italics doesn’t.

Both tags are part of mutually exclusive tag groups so no difference there. If the required tag didn’t already exist in OF (it does) previous behaviour was that OF would create a new tag which matches the spelling. Adding in a single word Tag doesn’t work either @context(Test) doesn’t work either without it having been created in OF beforehand or after it is. I only added the Mindset tag to this line after the one in italics didn’t work.

I tried copying the Mindset tag (which works) and pasting it to replace the Compliance Stream tag and then typed in Compliance Stream : Documented Information manually to avoid any unknown weird characters, but still no dice.

This has worked great for years and I’ve introduced new Tags today which don’t stop it running as it did, it simply doesn’t add the new tags I want to use.

Has anyone got any ideas please.

I’m completely stumped.

If I add exactly the same thing to a subtask of the project it works fine. 🤯

help

And now for some reason it’s working. @SupportHumans I think that this may be caused because both tags are mutually exclusive under different prime tags (so they’re not mutually exclusive from each other), but something between the action in shortcuts and OF itself will only apply the last one presented.

Or should I (as I’ve just read) be putting a comma between multiple tags inside the parentheses?

I would recommend using the @tags() parameter rather than the deprecated @context() parameter, and (as you’ve already noted) using commas to separate multiple tags.

So your example would look like this: Review of DocName @autodone(true) @Parallel(true) @tags(Compliance Stream : Documented Information, Mindset : Shallow Work) @due(DueDate)

As noted in the OmniFocus TaskPaper Reference Guide, one way to see how to write something in TaskPaper is to set up an item in OmniFocus the way you like it and then use Edit > Copy as TaskPaper to see how OmniFocus would write it. (Though, for backwards compatibility, Copy as TaskPaper redundantly writes @context() with the primary tag alongside the newer @tags() containing the full set.)

Thanks Ken, I appreciate you feeding back.