Anyway, here are the tests that I ran, in case you're interested:
Test
|
Scoping filter
|
Result
|
Single-valued attribute equals
|
employeeID EQUAL 100000
|
OK
|
Multi-valued attribute contains string
|
Roles CONTAINS MyRoleName
|
FAIL
(Not Applied)
|
Attempt at multi-valued attribute contains string
|
Roles STARTSWITH MyRoleName
|
FAIL
(Not Applied)
|
Another attempt at multi-valued attribute contains string
|
Roles EQUAL MyRoleName
|
FAIL
(Not Applied)
|
Desperate attempt at multi-valued attribute contains string
|
Roles STARTSWITH %MyRoleName%
|
FAIL
(Not Applied)
|
Attempt at "Is Present"
|
employeeID NOTEQUAL NO SUCH EMPID
|
FAIL
(Applied when employeeID is not present)
|
Another attempt at "Is Present"
|
employeeID STARTSWITH %
|
FAIL
(Not Applied)
|
Desperate attempt at "Is Present"
|
employeeID GREATERTHAN 0
|
SUCCESS
100000: Applied
A100000: Applied
<empty>: Not Applied
|
And here's the explanation from Andreas on the forum:
"That is not
supposed to work. The scoping filter is only intended for string values. It
isn't documented because I didn't think of documenting it."
Joe - I can report that I am having success with an "Is present" test which looks like this: "employeeID NOTEQUAL ''", i.e. in the XML we would have this:
ReplyDelete<scope>
<csAttribute>employeeID</csAttribute>
<csOperator>NOTEQUAL</csOperator>
<csValue />
</scope>
This seems to work fine, but apart from being a tad intuitive, has one other downside to be wary of ... if you are migrating the above XML and you end up with <csValue></csValue> instead of <csValue /> your sync rule will not work at all. This is because (I expect) <csValue /> is effectively a test for null.
Hope that helps - I've actually built an entire FIM solution (9-connectors, reasonable degree of complexity) using 100% scoped declarative rules, and plan to blog about this in the near future.
Great work Bob, and thanks for the feedback!
DeleteJoe - part 1 of the promised blog series is here: https://bobbradley1967.wordpress.com/2015/06/24/fim2010-r2-scoped-sync-rules-part-1-the-vision/
ReplyDeleteThese are really a superb showcases here I am glad to have a review of it and feel to roll on its steps for my benefit always.jogos friv gratis 2019
ReplyDeleteJogos 2019
jogos friv
วันนี้จะมาแนะนำ ทดลองเล่นสล็อต megagame กับเว็บไซต์เราได้เเล้ววันนี้ที่ MEGA GAME ทุกท่านจะพบ กับเกมสล็อตออนไลน์ รูปแบบใหม่มีมากกว่า 1000 เกมที่เราได้คัดสรรมาให้นักเสี่ยงโชค
ReplyDeleteวันนี้ เรา betflix888 ทางเข้า เว็บสล็อตออนไลน์ ชื่อดังอันดับหนึ่ง betflix มีเกม ให้สมาชิก ทุกท่านได้เลือกเล่นอย่างล้นหลาม โดยเฉพาะเกมสล็อต และ เกมคาสิโนออนไลน์
ReplyDelete