Hi Team,
There is any function name in appian that we can find out with a user as a input by option in process model under Assignment Tab Run as whoever designed a process model without checking manually one by one process model to get all process model names with that function name?
So please if you can suggest any function name it would be helpful for me.
I am sharing a screenshot below
Discussion posts and replies are publicly visible
Make Use of Swim Lanes and Assign the Respective Mode how you want the process to be .
Make Sure to Keep all the Smart Service under the System lane So all Follow the Same Assignment.
Further queryProcessAnalytics Report can Help In Much Detailed Manner But this must be taken Care while System Design as Best Practice.
a!localVariables( local!allPMs: getapplicationprocessmodelsuuids("bdd90729-b99c-4c51-96e2-037e8423a1da"), local!processUUID: a!forEach( items: local!allPMs, expression: a!map( uuid: fv!item, creator: trim( index( split( index( split( getprocessmodeldetailsbyuuid(fv!item), "," ), where( a!forEach( items: split( getprocessmodeldetailsbyuuid(fv!item), "," ), expression: toboolean(search("Creator", fv!item)) ) ), 0 ), ":" ), 2, null ) ) ) ), index( local!processUUID, wherecontains( tostring(ri!creator), touniformstring(local!processUUID.creator) ), null ) )
Replace your Application UUID and try. Do let me know if this works.
okay thank you DaisyManmohan5ingh
okay stefan thanks
Hi Konduru Chaitanya, getapplicationprocessmodelsuuids() function is is unavailable error is getting
The Best Practice to deploy process models is to use a 'system account' which will not be deactivated, as it is if process models are saved or deployed using a user name. If that user account get's deactivated because the user has left the company - you are in trouble for those process models.I might be wrong, but I am assume that you are looking for a solution for a scenario like this kind: Find out all Process models which were stored by user 'Left the company'.There is a relative easy solution to it - 1.) Identify the XML pattern by just exporting one process model in request. Save this XML Pattern (e. g. it contains the users id)2.) Export all process models. Then search for the saved XML Pattern in all ZIP files, utilizing e. g. NotePad++ 3.) The result list is a list of all process models which were stored by this specific user. Then you can go from there with appropriate actions
One addition:To fix multiple process models - just utilize the Search/Replacement feature in NotePad++Import the changed Zip file - all process models will be fixed. We have used that procedure for Process models and User Interfaces to save time and effort in a bulk update.
getapplicationprocessmodelsuuids() seems to be a function that is part of this plugin: Reporting Utilities