Is it possible to list/report all scheduled process models?

We would like to generate a list of all the process models that are scheduled to run automatically on a timer. Is there any feasible way to achieve this? (basically the equivalent of a crontab)

Any help will be appreciated. 

Thank you, 

  Discussion posts and replies are publicly visible

  • Hi Oscar,

    AFAIK, It is not possible form the front end until we do some work around like, whenever we configure a process model that should run as scheduler job we put an entry in our custom database table which is not fesable solution but I am just mentioning this one may be as hard work around.

    It may be possible that you can get this information from health check reaport but I am not sure. This information must be stored some where in the background table. Some one from Appian can help you out on this.
  • I don't think it is possible OOB, my suggestion is to export your application and grep the xml
  • Hi - I had hoped there might be something useful in the various healthcheck files that are produced (root directory prefixed HC-) but alas I cannot find anything that tells us the start node is actually using a timer. This would be a handy feature to list all known process models that run on timers. We update a Confluence page to list the processes and the times they run, but this is obviously prone to human error and forgetting to update the page.
  • Agree, this should really be a feature. It would extremely helpful for developers, admins and LOB. At least there should be some way to report on this. We should all submit this as a feature suggestion to Appian :)
  • I'll certainly give this a try, I'll update this post if it works.
  • Hello Oscar,

    Try the export that for sure will give you the information, you can export all the processes in one app and then look for “trigger-timer” which will give you the processes with a timer.

    Then here is the difficult part how to know that is a start node?, well if you assume al the start nodes are names as default “Start Node” then you have the answer, but it is always possible that someone changes it.
    As well you can assume the start node was never deleted or modified so it will be the local-Id:”core.0” or guiId =0

    Unless you have an special scenario in your processes maybe the better way to identify is to look inside the same xml tag for the <schedule> Which is the recurrence configuration used on this kind of nodes.

    BTW that is a fantastic request, I would like to see that functionality on the admin or somewhere there. I even would love to identify the start node timers and the other timers. Since we most of the times need to know if we have an abandoned process timer.

    I am not sure if this information is on the HC, but if you find it please let us know.

    Hope this helps
    Jose
  • So far I have not found any information on it, I will keep looking though. Thank you for your valuable insight josep, these additional details will definitely help speed up this search. As soon as I'm able to test this procedure I will update this thread.
  • 0
    Certified Lead Developer
    Hi If i understood you query correctly, you want to generate a report which will list out all the processes details which has Timer configured / Scheduler processes.

    As per my understanding, there can be a feasible solution to achieve this requirement.

    -- Create a constant and add/refer all the Scheduler processes under this constant
    -- Create a process report having the process model context as your constant
    -- Filter the data with having status as per your requirement such as, Active / In-Progress / Assigned

    This is a one time setup, so as an when a developer creates a scheduler process, they can add their process models under this constant so that your process Analytics can generate the process report data accordingly and your interface can represent it on the UI.

    Hope this will help you.
  • Thank you for your input. You're close, however this is not a new development. I inherited the application and there currently about 700 process models. If we were starting from scratch then it would be a perfectly acceptable solution. Since this is not the case, it would take a huge amount of effort to proceed in this path.

    The question was more geared towards the scenario where a number of process models already exist and you would like to find out which process models run as scheduled, this meaning that the start event is a timer. From your answer I get the impression that you assume that we know which PM's contain timers. Sadly, this is not the case.

    I appreciate the help though, I'm sure this will be of help to anyone interested in knowing how to achieve this and that is working on a new development.
  • Hi Oscar,

    There is no OOB feature in Appian which gives this information. You need to create a java utility to do so and pass the application zip file with all the process models you require and execute the utility.

    Thanks,
    Sahithi