
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2015 07:21 AM
I am attempting to create a business rule in a scoped application. The business rule is not working due to a java data type error. I think it is caused by the "condition" line. I have used this same line in other (non-scoped) business rules. What could be the issue?
Condition:
gs.getUser().isMemberOf(current.assignment_group)==false
Exception (java.lang.RuntimeException: failed to coerce com.glide.script.fencing.ScopedGlideElement to desired type java.lang.String) occured while evaluating'Condition: gs.getUser().isMemberOf(current.assignment_group)==false; Filter Condition: x_myscp_infosec_sc_scan_request_stateIN2,6,5^commentsVALCHANGES^EQ' in business rule 'Scan Request State' on x_myscp_infosec_sc_infosec_scan_request:; skipping business rule
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2015 09:55 AM
Try
gs.getUser().isMemberOf(current.assignment_group.toString())==false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-17-2015 09:55 AM
Try
gs.getUser().isMemberOf(current.assignment_group.toString())==false