cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Microsoft
Microsoft

Recognize 'lookup' ID's (CRM) according to values in CosmosDB and set it into a Logic App

Background:

I have data coming from CosmosDB that needs to be pushed into CRM. I am using a LogicApp for this.

 

Dilemma:

There are multiple IDs that have different attributes associated with them:
For instance the 'ems_featurecategoryid'. Each has a different name that goes along with its unique ID. (This the raw data that is within CRM)

Figure A

jasmine2020_0-1596654534686.png

 

 

 

 

Here is the CRM interface and the lookup field (feature category) in which I wish to push the CosmosDB data into:

Figure B

 

jasmine2020_1-1596654573046.png

 

 

 

 

Here is the CosmosDB data that hold this FeatureCategory attribute:

Figure C

 

jasmine2020_2-1596654598297.png

 


There are over 3000 of these. How would I map the IDs that are within CRM (Figure A) with CosmosDB (Figure C), so that when a value input is provided to the Feature Category lookup in CRM, this is recognized according to the value in CosmosDB?

This is what I am thinking:

 

 

jasmine2020_3-1596654635203.png

 

 

 

 

 

 

 


I provided the Logic App with one of the GUIDs from Figure A. I am not sure if this is the right thing to do. The value is pushed through, but how do I account for all of the other IDs?

 

jasmine2020_4-1596654684327.png

 

 

 

 

Any help or suggestions are appreciated.

 

1 REPLY 1
Highlighted
Solution Specialist
Solution Specialist

Re: Recognize 'lookup' ID's (CRM) according to values in CosmosDB and set it into a Logic App

Hi @jasmine2020 ,

 

Is it that you want to insert data from Cosmos DB to CRM. Having different attributes should not be a problem as long as you have GUID present in CRM. 

 

Thanks

Helpful resources

Announcements
FirstImage

Microsoft Ignite 2020

Check out the announcement of Power Platform content at Microsoft Ignite!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (10,496)