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
7 subscribers
Views
2175 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
General
Hello, How can I archive processes which are there on the server in C
sandeepg138
over 8 years ago
Hello,
How can I archive processes which are there on the server in Completed or Cancelled state, some of the instances do not have Datamanagement set up. Is there a plugin, where we can pass Task IDs and that plugin should do the archival process.
I am exploring a option to have process model where we can archive the instances which are completed/Cancelled or unarchived.
Regards,
Sandeep.
OriginalPostID-216250
OriginalPostID-216250
Discussion posts and replies are publicly visible
0
sikhivahans
over 8 years ago
@sandeepg Hi, have you had a chance to take a look at 'Process Management Services' Shared Component at https://forum.appian.com/suite/tempo/records/item/lIBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUjepE6dGk75DUwf-MkSsbwuya1TTzzij2/view/summary? It contains a smart service that offers the functionality you are looking for.
Just to let you know, the smart service (that archives processes) expects process id. So you may need to query the analytics using a!queryProcessAnalytics() and obtain the process ids based on the task ids you have in hand. Or you could also create an expression in such a way that it gets all the process ids for the desired Process Model(s) and that too, in a desired state(Completed, Cancelled etc).
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
Chris
over 8 years ago
Also to note, if you change the data management setting at the process model level and re-publish, all instances in your environment will take the new setting - not just new. So any completed or cancelled instances should be updated automatically. That is an easy way to go about it if you would like to make a change globally.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
On a side note, if you haven't set the Data Management settings on many models, then 'PM Cleanup Settings Setter' in the 'Process Model Utilities' Shared Component at
http://bit.ly/24t6hm5
will be really a nice option to bulk manage the settings. I believe once when you are done with the settings, even the Completed/Cancelled instances will start pointing to the latest settings.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
janakik
over 8 years ago
@Sikhi - How do you shorten the URL ? Is it something you using "URL Shortener" provided by Google ?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
sikhivahans
over 8 years ago
@janaki Hi, yes, I have shortened the URL by making use of the Bitly URL shortener at https://bitly.com/. FYI, this is also implemented as a Shared Component by name 'PSI URL Shortener' which can be found at https://forum.appian.com/suite/tempo/records/item/lMBCLGOdlMUpdGVqW3dQaIKmclBmvvNEj8vu_cjb7T-5YiPr4Fu8ly5Yj1s09uenE4RYzA8zKyx7eiUhuynLnMh9a-dKZKO9IUM3y3nBvAAOAIB8A/view/summary.
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel