We have several process models in our Production environment that list an individual user as the process owner. We've changed our practice since they were initially deployed, using only a service account (i.e., Appian.Aministrator) for deployments but the process owner value has not changed even when patches were deployed that modified these process models. Do we need to export the processes using the Appian.Administrator account and then re-import them in order to change the process owner? Please advise. I don't want to risk having these processes fail if the listed process owner account becomes deactivated.
Discussion posts and replies are publicly visible
Please look into a plug-in called "Re-publish process model as user". Running this against any process models where the creator is not listed as your service account will allow you to set whatever user you like as the "last publisher", which in my experience is the main factor in process model security (regardless of whichever user originally imported the process model). In one of my projects the service account is a dummy only and developers can't log into it, so deployment is done via personal accounts and then we run a tool I wrote a few years ago that finds all process models not last modified by the service account, and re-publishes them under the authority of the service account.
This is close to what I was about to suggest. Using the process model details by UUID plug-in, I was able to design an automated process a few years ago (which i mentioned already earlier in this thread I notice), which checks every process model in the environment for the "last published by" user using this plug-in, and then uses the Republish Model As User smart service to republish any not last republished by the system account user. The main drawback to this is that the process model details by UUID custom function is slow, taking a few seconds per process model, so when running it in an environment with hundreds of process models, it requires several minutes to do the initial check-through.