Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
10 replies
Subscribers
7 subscribers
Views
3557 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
question on un-archival: Archived files name are in this format in our syst
bragadeeshp
over 10 years ago
question on un-archival:
Archived files name are in this format in our systems, process_<UUID>_20141122061348_268516094.l
looks like parameter after UUID is Date Time. what is the parameter after that ? I assumed thats the Appian Process ID, but if I use it as a portal report filter for pp!id attribute (after un-archiving it), it does not display any process.
how / where to view un-archived processes within portal interface ?
...
OriginalPostID-130824
OriginalPostID-130824
Discussion posts and replies are publicly visible
0
Aleksi White
Appian Employee
over 10 years ago
What command are you using to unarchive the process? I see that if I unarchive a process such as process_0005da29-8f70-8000-a73e-010000010000_20141128181004_64.l (PID = 64), then it shows up in my processes list in Designer only once it has been unarchived
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bragadeeshp
over 10 years ago
here is the command, archiveprocess.sh unarchive -file <file name>
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Aleksi White
Appian Employee
over 10 years ago
Previously when I've used the -file parameter it doesn't seem to unarchive the process. Try using the -pid parameter, and pass in the part of the file name the is the PID.
So using my example above, you would do
./archiveprocess.sh unarchive -pid 64
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bragadeeshp
over 10 years ago
Thank you, that worked.
I see pstarted, pcompleted, parchived etc., parameters in documentation. Is it possible to unarchive processes specifying date range ?
we are planning to unarchive our PROD 250,000+ archived processes, thought date range (or combination of pmuuid and date range) will be a better way to split #processes into batches
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Aleksi White
Appian Employee
over 10 years ago
Yes, you can use either pstarted or pcompleted with a date range. For example, you could do
./archiveprocess.sh unarchive -pmuuid 0003cc70-5ad7-8000-5ad7-0a000064044c -pstarted 201408\\*
This will unarchive all process instances for the model with that UUID that were started in August 2014
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bragadeeshp
over 10 years ago
Thanks again
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bragadeeshp
over 10 years ago
Aleksi - the Date Timestamp in archived file name, is it Archived date time (or) Process start time (or) Process completed time.
If thats archived date time, is it possible to use date range with that attribute ?
parchived 201408\\* ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Aleksi White
Appian Employee
over 10 years ago
In the filename the timestamp is referring to the archived date time. And yes, you can use the parchived flag with a range like that
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
bragadeeshp
over 10 years ago
thanks, I will give it a try.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mahesh Sanga
over 10 years ago
This smart service may be helpful:
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel