Discussions
Categories
- 17.9K All Categories
- 3.4K Industry Applications
- 3.3K Intelligent Advisor
- 63 Insurance
- 535.7K On-Premises Infrastructure
- 138.1K Analytics Software
- 38.6K Application Development Software
- 5.6K Cloud Platform
- 109.3K Database Software
- 17.5K Enterprise Manager
- 8.8K Hardware
- 71K Infrastructure Software
- 105.2K Integration
- 41.5K Security Software
OEM 13c dynamic group define creteria does not have pattern matching

Best Answer
-
Hi MS,
I don't think there is a way you can do that by using pattern matching. An other way to do this is by setting the lifecycle status using sql and emcli where the lifecycle status will be set based on the target name, see for an example
https://bwong64.com/mass-updating-oem-target-attributes/
Eric
Answers
-
I am looking for pattern matching like %prod% or %test%.. i checked options.. i could not find..let me know if there is anyway.
Thanks
MS
-
Hi MS,
I don't think there is a way you can do that by using pattern matching. An other way to do this is by setting the lifecycle status using sql and emcli where the lifecycle status will be set based on the target name, see for an example
https://bwong64.com/mass-updating-oem-target-attributes/
Eric
-
@EricvdS is right that you can't do pattern matching in Dynamic Group - you want to use the Target properties and then select those as your defining criteria.
A regular group can search for prod/test in the name, but this will not be updated dynamically. No % OR * needed, just search in the field.
-
As multiple team members add targets its difficult to maintain correct target properties thats the issue.
-
I would suggest an automated script that sets the target properties based on a search like *prod*, then the group will update as those properties are set.
Here's an example:
https://blogs.oracle.com/oem/using-em-cli-for-mass-update-of-lifecycle-status-property-value-v2