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
11 replies
Subscribers
6 subscribers
Views
4003 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Process
Re: Archival of all the cancelled instances of any process Is there
manojj
over 10 years ago
Re: Archival of all the cancelled instances of any process
Is there any way to archive all the cancelled instances of any process model by passing the process model id, irrespective of the Process Archival Policy? ...
OriginalPostID-134991
OriginalPostID-134991
Discussion posts and replies are publicly visible
0
Eduardo Fuentes
Appian Employee
over 10 years ago
Have a look at the Process Management Services plug-in
forum.appian.com/.../summary
it has a smart service to archive processes.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
manojj
over 10 years ago
thanks Eduardo, I know about this service.
We have some old applications which were poorly designed and some of the quick tasks were always active in those process model. Now we are modifying the application but the in-flight instances which have accumulated over the time is around 15000+ and these and sub-process instances which also has the active quick task...so how can we archive all those instances in an efficient manner?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
manojj
over 10 years ago
just to clarify, so the process was logically completed but it has one or more quick task which are active, so the instances never get archived and they have build up the memory...i want to clean it up...so is there any way in which i can pass the pmid or pmuuid and all the instances may be archived...could be using the script at back end on server side...one way could be to cancel all those instances using the "smart service" and then archive them....but collecting all the ids for 30000+ instances and cancelling and archiving them manually is a bit tedious....so i am looking for an efficient way for it
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Mahesh Sanga
over 10 years ago
Hi Manoj, This thread may be helpful:
forum.appian.com/.../e-129114
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
cmtam
over 10 years ago
Hi, Manoj,
1. you can create report based on the all processes report and then adding your filter in this new created report such as process status is "Cancelled", completed more than 90 days, process model ID and corresponding PM version.
2. Create a process model use Analytic Smart node to get a full list of process ID, you may add addtional filter in this process model to only include those processes you wanted.
3. After confirming the new process model selects correct process list, add the Process Management Services plug-in recommended by Euardo to archive those processes.
4. You can start this new created process model everyday until all the old version process was completed.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
cmtam
over 10 years ago
If your process is still active with the quick task, you need to review if the news recommended by maneshv can help.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
cmtam
over 10 years ago
For process with quick tasks, you may consider to use reports and Analytics Smartnode to produce process list (process Id) and use Process Management Services plug-in recommended by Euardo to cancel the processes with quick tasks.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
cmtam
over 10 years ago
Manoj, Please note that you can put one dynamic filter in Analytics Smartnode (Execute Process Report) such as process model Id or process model uuid to create your process list.
If you use "processes per process model" report, you can put the process model Id in the context.
I
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
manojj
over 10 years ago
Hi Cmtam, thank you very much for the detailed reply.
I am following the exact same approach but I was wondering if there was a better approach to this. I have got the list of pp!id, and its 30000+, so I was hoping if there is a better way to do it.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
cmtam
over 10 years ago
Manoj, you may add filter such as cut off date run your clean up job by batch.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
>