web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Customer Service forum

Case Assignment based on User-Product-Availability

(0) ShareShare
ReportReport
Posted on by 105

Hi,

Is there a out of the box feature where we can "associate users with products" and also "maintain user availability" so that case assignment can be done based on this criterias.

Thanks

Categories:
I have the same question (0)
  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at
    RE: Case Assignment based on User-Product-Availability

    Hi,

    Unfortunately there is nothing out of box which can help you with the assignment based on some business logic. You need to write your own custom logic and do the assignments. One simple way is to create a custom user lookup on Product entity. and then on create of case, trigger a workflow which assigns the case records to user field on product entity.

    Hope this helps.

  • Bhavik Sanghvi Profile Picture
    105 on at
    RE: Case Assignment based on User-Product-Availability

    Thanks, What about User Availability. Is there any OOB Feature where we can store whether a user is available or not, If not what would be the best possible way to achieve that.

  • Community Member Profile Picture
    on at
    RE: Case Assignment based on User-Product-Availability

    There is no OOB feature to identify user availability in MSD.

    You can use below custom code to identify user is logged in to CRM today or not.

    var query = new QueryExpression("audit")

               {

                   ColumnSet = new ColumnSet(true),

                   Criteria = new FilterExpression(LogicalOperator.And)

               };

               query.Criteria.AddCondition("createdon", ConditionOperator.GreaterEqual, DateTime.Today);

               query.Criteria.AddCondition("callinguserid", ConditionOperator.Equal, guid);

               EntityCollection results = Contextservice.RetrieveMultiple(query);

               if (results.Entities.Count > 0)

                   return true;

               return false;

  • spathak Profile Picture
    55 on at
    RE: Case Assignment based on User-Product-Availability

    you can ad users as warehouse and location then you can assign that products with users,

  • spathak Profile Picture
    55 on at
    RE: Case Assignment based on User-Product-Availability

    docs.microsoft.com/.../configure-set-up-customer-assets

  • Suggested answer
    Johan Rock Profile Picture
    5 on at
    RE: Case Assignment based on User-Product-Availability

    I want to suggest You a platform for You https://360assignments.com/sg

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans