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
- 123 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories