Is there a way to get the list of users and groups and their assigned roles for

Is there a way to get the list of users and groups and their assigned roles for a process model based on process model id? Any smart service or functions?

OriginalPostID-193844

OriginalPostID-193844

  Discussion posts and replies are publicly visible

Parents
  • @miteshp As per your question, I assume that you are talking about the roles associated with the Process Model object such as Initiator, Viewer etc and you want to read the User or Group objects associated with those roles based on the id of Process Model. If it is so, to the best of my knowledge, there isn't any function or smart service to do the same. But you can build a plugin by making use of the 'getSecurityForProcessModel' function in the 'ProcessDesignService' Interface at https://forum.appian.com/suite/help/16.1/api/index.html?com/appiancorp/suiteapi/process/ProcessDesignService.html which will help you read the User or Group objects associated with role map of the Process Model.
Reply
  • @miteshp As per your question, I assume that you are talking about the roles associated with the Process Model object such as Initiator, Viewer etc and you want to read the User or Group objects associated with those roles based on the id of Process Model. If it is so, to the best of my knowledge, there isn't any function or smart service to do the same. But you can build a plugin by making use of the 'getSecurityForProcessModel' function in the 'ProcessDesignService' Interface at https://forum.appian.com/suite/help/16.1/api/index.html?com/appiancorp/suiteapi/process/ProcessDesignService.html which will help you read the User or Group objects associated with role map of the Process Model.
Children
No Data