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
Are you taking about pm!creator??
Hi Venky, Processes who create there is any function that i can check in ER get a list of process model names easily?
What you are asking for a function in which you gonna pass a process model id and you want to know who designed it ?? or you gonna pass a user and you want to know what process he created ? I don't get it can you elaborate it a bit. Where do you wanna use it??
Pass a user and i want whoever designed that process model that option by default is selected him in process model and i get that list of that process model names in ER
Hello Yash Gandhi
You can use "Content Tools" Plug-in form the App market and use the below format.
index( split( getprocessmodeldetailsbyuuid("UUID-e0aa-UUID-97cb-UUIIDD"), "," ), 9, null )
What ?? I don't understand at all . is it whoever or whatever the particular user designed??
1. If you want to know who designed a particular process model use pm!creator. or use getprocessmodeldetailsbyuuid()
2. If you want to know all the process models designed by a user create a Process model report.with Queryanalytics.
As far as i know these are the only ways
Hi Konduru, thanks for a code but every process model have different UUID so manually i need to see UUID without this i can't get the result
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.
Hi Konduru Chaitanya, getapplicationprocessmodelsuuids() function is is unavailable error is getting
getapplicationprocessmodelsuuids() seems to be a function that is part of this plugin: Reporting Utilities