0

I'm trying to put a trigger condition in "When a record is created, updated or deleted".

I tried all the trigger conditions I saw in this forum, but unfortunately, it's not working.

It is an Option Set in the CDS entity.

This is my trigger condition:

@equals(triggerOutputs()?['body/statuscode'], 'Billed')

I also tried this one:

@equals(triggerOutputs()?['body/statuscode']?['Value'], 'Billed')

Here's the screenshot.

Trigger Condition Screenshot

Thank you!

1 Answer 1

0

You need to use the integer property, not the label value, because the value passed from Dataverse for the statuscode field is going to be an integer value.

You can find the integer value by looking at the field in the Power Apps Maker portal.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.