cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

How to use Trigger with filter expression based on Customer ID Type ?

Hello,

 

Whan I craete a case, I want to do action only if customer type is equal to contact.

Do anyone knows how to write this expression please ? 

Many thanks

4 REPLIES 4
Paulie78
Super User
Super User

Depends on what trigger you are using somewhat, is it a SharePoint list?

Anonymous
Not applicable

Thanks,

I work in Dynamics CRM with Cases so I play with the CDS Current Environment.

 

CML8
Frequent Visitor

Hi,

Has anybody a solution for this issue?

I have the same problem, a CDS upgrade record trigger with a filter to fire when customer is an account.

Thanks.

CML8
Frequent Visitor

Hi,

I was trying and I found a solution (perhaps it is not the best, but it seems that work).

On Settings of the trigger, I added a trigger condition:

  • @equals(triggerBody()?['_customerid_type'],'accounts')

If you have a better idea, please don't hesitate to reply.

Thanks.

 

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,133)