0
I want to archive (or move into a different SBM app created for the purpose, since archiving is apparently on the way out--one can't search archived items in Work Center) all items whose last modified date is over 365 days ago.

However, there was a decision not to archive items in sets of items, when there are subtasks, unless all the items in the set had a last modified date of over 365 days.

Sets consist of a parent and one or more subtasks, all with identical numeric ID's but differentiated by one prefix for the parent, and one for the children, plus a "suffix" field in the children that is not part of the identifier. In many cases, the subtasks have multiple subtasks as well.

I'm thinking I could have a transition with an appscript transition action, that would send all the items in the set to a pre-archive state only when all the items in the set have a last modified date of over 365 days ago.

The pre-archive state would then be selected in the archive utility.

The tricky part for me is figuring out how to construct the appscript, if appscript is the only option.

Accepted Answer

Thursday, May 18 2017, 01:28 PM - #Permalink
0
Phil,

If you had a way of searching archived items in Work Center would that fill your need so you wouldn't have to do all this other stuff?

If so here is how you can get the old advanced search report in work center and be able to search archived items.

1. In Work Center create a Dashboard or use an existing one.
2. Add a widget to the dashboard and use type URL
3. Paste this url in but use your sbm server name

http://sbmserver/tmtrack/tmtrack.dll?StdPage&Template=find&Type=Advanced&SolutionId=1


4. Save your changes and view your dashboard and you should see the old advanced search report that will allow you to search archived items.

Hope it helps
The reply is currently minimized Show
Responses (1)
  • Accepted Answer

    Thursday, May 18 2017, 01:50 PM - #Permalink
    0
    Thanks. Sounds interesting, but I'm now thinking of abandoning the whole idea on its merit (or lack thereof).
    The reply is currently minimized Show
Your Reply

Recent Tweets

Twitter response: "Invalid or expired token."