Hi,
I am receiving the error "This rule creates a circular reference between properties which is not allowed" on a rather simple configuration and I don't understand why.
I have a Sharepoint list that documents our corporate certificates and I am building a Power App so employees can provide feedback if they need the IT department to renew a certificate before expiration. Please see attached screenshot.
The left part highlighted in green is a form connected to the Sharepoint list and on the right side I have a dropdown field so users can choose their action.
If the certificate was issued by the company the dropdown list should show 3 options
1) Renew
2) Deprecate
3) Only update information without changing Renew/Deprecate status
If the certificate was not issued by the company then only 2 options are shown
1) Deprecate
2) Only update information without changing the status
The dropdown list is using following logic in the "Items" field:
If(DataCardValue9.Selected.Value="Company", ["I want this certificate to be renewed","I want to this certificate to be deprecated", "I only want to update the information above without changing the status"], ["I want to this certificate to be deprecated", "I only want to update the information above without changing the status"])
This is working fine but I only want to update the field "Expiration Action" if renew or deprecate is selected and keep it as is if the user chooses to simply update the other information.
However when adding following logic to the Update field on "Expiration Action" I am receiving the error.
Switch(Dropdown1.SelectedText.Value,"I want this certifiate to be renewed","Renew","I want to this certificate to be deprecated","Deprecate")
I clearly have an dependency from A to B to C but I can't figure out how this would result in a circular reference.
Thank you