The Community is now in read-only mode to prepare for the launch of the new Flexera Community. During this time, you will be unable to register, log in, or access customer resources. Click here for more information.
Hi Experts,
Do we have any guidance document on as how to use regular expression within the business adapter.
I have a incoming record which captures Manager details from Active Directory.
Example: CN=Last Name\, FirstName -useraccount,OU=StandardAccounts,OU=Users,OU=ABD,DC=Test,DC=com
I just need to extract Last Name,First Name-useraccount.
Regards,
Jambunathan.V
‎Apr 26, 2021 05:12 AM
you can check the following article:
Also please check the comments, you can find more useful information there
‎Apr 26, 2021 08:23 AM
This is assuming that you work in an on-prem installation of FNMS.
As described in the Using FlexNet Business Adapters" documentation on page #55, you would have to manually edit the Business Adapter XML configuration file and for the target field to be populated, use a combination of MatchingMode=LIKE and a suitable MatchingMask value.
Based on your example, according to this Business Adapter documentation, for the 'MatchingMask' setting, something like "%CN=[value],OU=%" should work.
As an alternative, you might consider implementing a two step process that includes downloading the Active Directory (AD) data to a local staging database. This is recommended as a best practice in the "FlexNet Manager Suite Business Adapter Practice Guide".
After you downloaded the data to a table in a local staging database (using SQL Server Express as an example), you can use SQL for reformatting and consistency checking before using Business Adapter Studio for populating data in a FNMS production database.
‎Apr 26, 2021 08:29 AM
I'm not sure what outcome you're trying to achieve here, or how a business adapter will help with the sort of text transform you've described.
However if you are looking to import user details from Active Directory into FlexNet Manager Suite On-premises, including linking user records to their managers, then the attached sample adapter may help. In particular, the "Update User Managers" query in this adapter performs the linking of users to managers.
To use this adapter you will need to change the domain name details in 3 places:
‎Apr 28, 2021 12:23 AM
Hi Chris,
May I know what would be the approach if we have to perform it for FNMS Cloud.
Regards,
Jambunathan.V
‎May 12, 2021 05:16 AM
An approach for FlexNet Manager Suite Cloud might be to:
‎May 17, 2021 06:46 AM