MBPM V9 Dynamic Roles
Hi all,
I'm trying to address a list of user (Using SelectSQL) to a process variable so it grants these users the targeted dynamic role (as we were doing in version 7).
MyRole is populated by a Map1Data.memMyVariable.
I can't fix it, I only recover the first member of the list of user.
Does anyone have a clue, it was so obvious in version 9.
Pierre
Tagged:
0
Comments
-
I finally have found a solution, here it is:
memTDLUser= SelectSQL(Select eUserName from eUser Where ....)
Create a server script methodpublic static List ReturnCleanList(string MyList) { string MyReturnList=""; MyReturnList=MyList.Replace("\t",","); MyReturnList=MyReturnList.Replace("\n",String.Empty); MyReturnList=MyReturnList.Replace("\r",String.Empty); return List.Convert(MyReturnList.Split(',')); }
Use it in the formula Role : ServerScript1.ReturnCleanList(MyProcessData.memTDLUser)
0 -
thank you Pierre for sharing!
0
Categories
- All Categories
- 107 Developer Announcements
- 53 Articles
- 104 General Questions
- 141 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 898 Cloud Fax and Notifications
- 76 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 118 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management