1
Currently, for dashboard (and msdyn_SearchResourceAvailabilityRequest API), for Role constraints, the search is conjunctive (AND) - not disjunctive (OR).

It returns all bookable resources that have roles in the specified roles list. It does not allow you to specify that you want the bookable resource to have ALL of the roles. It is an OR search not an AND search.

e.g.

Assume roles_list = [Role 1 , Role 2 , Role 3]

Current behavior: msdyn_SearchResourceAvailabilityRequest(start_time,end_time,roles_list) returns bookable resources with (Role 1 OR Role 2 OR Role 3)

Possible future enhanced behavior based on parameter passed in:

msdyn_SearchResourceAvailabilityRequest(start_time,end_time,roles_list, TRUE) returns bookable resources with (Role 1 OR Role 2 OR Role 3) -- this is the enhancement

msdyn_SearchResourceAvailabilityRequest(start_time,end_time,roles_list, FALSE) returns bookable resources with (Role 1 AND Role 2 AND Role 3) -- this is the current behavior
STATUS DETAILS
Needs Votes

Comments

A

Title has error in it:

Should be: msdyn_SearchResourceAvailabilityRequest constraint search for roles is disjunctive . add conjunctive option

Body has error in it:

Should be: Currently, for dashboard (and msdyn_SearchResourceAvailabilityRequest API), for Role constraints, the search is disjunctive (OR) - not conjunctive (AND).

Category: Universal Resource Scheduling