Sync Characteristics to Skills

Last week I created a Microsoft Flow which connected with the Dynamics 365 Customer Service module. This time I wanted to test if it was possible to connect a Flow with the Project Service Automation module.

Skills everywhere

One of the concepts which is used in the Project Service Automation module is resources skills. A resource requirement can be filed for a new project. Based on these skills resources can be matched and scheduled.

I found it interesting that skills can be managed on Dynamics 365 because I also found an option to update your skills in Delve. So in this example today I am trying to get the skills from Dynamics 365 into Delve.

Trying to sync it

Below is an example of a resource skill. It is based on a characteristic called Budgeting.

Bookable Resource Skills

The Flow will sync this value to the Delve profile of the same resource.

Delve Skills

The actions in the Flow

In the first part of the Flow I am using a schedule and three initialize variable actions.

1 time per day

In the list records action it will get the Bookable Resource characteristics records from Dynamics 365. It will use a filter based on the CreatedOn field and will only get the records created today.

List Bookable Resource Skills

For every record it will first find the related resource.

Get Resource

From that output it will get the related user.

Get User

In the action below we will get the related characteristic record.

Get Characteristic

In the last action it will use a HTTP action to update the skills in Delve. It will use the primary email and characteristic name for the PATCH request. It uses the Update user method of the v1.0 Graph endpoint.

Update Delve skills Graph

Next possible steps

The current Flow doesn’t compare the new bookable resource characteristics records with the current skills of a user on the Delve profile. So it will simply overwrite the current values. Of course this is something I can improve in a next version.

Hopefully you will find my experiment useful. Happy testing again! 🙂

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.