Hi All,
I would like to generate a list of all the Process Models in my application those are configured with timer.
Please suggest any feasible way to achieve this.
TIA
Discussion posts and replies are publicly visible
Natively in Appian I cannot think of a way...but if you don't care about how to get this information then you could export all of your process models in a Patch and look at each process model's XML definition, looking for content like this:
<pre-triggers> <timer-trigger index="0"> <persistentId>0001e489-a72e-8000-16b4-7f0000014e7a</persistentId> <name><![CDATA[Timer_1]]></name> <desc/> <rules/> <schedule absoluteDelay="false" isAbsoluteOrRelative="true" isRecurring="true"> <interval> <minutes>0</minutes> </interval> </schedule> <recurrence> <recurring-interval type="0"> <interval> <minutes>5</minutes> </interval> </recurring-interval> <timeZoneId/> <timeZoneIdExpr><![CDATA[=pm!timezone]]></timeZoneIdExpr> </recurrence> </timer-trigger> </pre-triggers>
(this is an example from a timer-triggered process model where the delay is set to 0 minutes, and the recurrence is every 5 minutes.
Thanks for your suggestion. But my concern is not to have that tedious job of going through each process model manually.
If only there was a way to automatically perform a search through a set of files in a directory...oh, wait:
(Notepad++ is your friend!!!)
Separately, I see that there is a plug-in in AppMarket that might provide what you need:
https://community.appian.com/b/appmarket/posts/process-model-utilities
This contains a function called 'getModelsWithGivenTimerTrigger'
That's a quite good one!!
But my perspective is something like whether we have some inline or OOB functionality where a query or some filters could work and result that list so that we can action on them. Or any plug-ins that could do the work?