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
5 replies
Subscribers
8 subscribers
Views
3717 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
We have more 100,000 archived files in archival directory and 4,000 active insta
Srinivasa Kommanaboyina
Certified Lead Developer
over 9 years ago
We have more 100,000 archived files in archival directory and 4,000 active instances (active, completed, cancelled etc..) in kdb. When I un-archived archived files, it is successfully un-archived, but, not clear which process instance is archived one, which is current kdb active process instance.
Is there away differentiate archived instances with active instance?...
OriginalPostID-130821
OriginalPostID-130821
Discussion posts and replies are publicly visible
0
Aleksi White
Appian Employee
over 9 years ago
To clarify, do you mean you'd like to differentiate between recently unarchived processes and active ones? When you run the unarchive script, a log file is generated that lists all the processes that were unarchived
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Srinivasa Kommanaboyina
Certified Lead Developer
over 9 years ago
Thanks Aleksi.
Unfortunately, log file does not have any information regarding recently unarchived processes.
Followed Unarchiev approach is: archiveprocess unarchive -file <<file with absolute path>>
Generated log is: Called with parameters: unarchive -file /opt/applocal/dit1/appian/server/archived-process/01/0/process_000dd38f-ad70-8000-0491-680000680000_20141201131233_268516476.l.
Is there away find what are processes un-archieved.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Aleksi White
Appian Employee
over 9 years ago
In this case you have both the UUID and the ID. The file name is organized like this:
process_<UUID>_<timestamp>_<PID>.l
So in the example you posted, the PID is 268516476, and you can filter your processes with the pp!id attribute to search for that one.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mahesh Sanga
over 9 years ago
Additionally you can use Find Archived Processes smart service to get the archived process ids and the date time they archived.
forum.appian.com/.../summary
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
anduriya
A Score Level 1
over 5 years ago
thank you
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel