Skip to main content

Hello,

 

I found a bug in our flow and I don't know how to fix it.

 

We have a flow in which the 'Active Cloud', 'Active Server', 'Active Backup' checkboxes on the Account object are set to true if the service status is Active.

If the status of the service changes to Inactive, these checkboxes change to false.

 

Flow does not work properly, because changing the status to Inactive, for example for Cloud, will mark the 'Active Cloud' checkbox to false, even though the Account may have 10 other active Clouds.

 

I would like flow to work like this:

Flow starts when a new service is created or an existing one is updated (status changes).

Then, if the status changed to Active, then set the 'Active ....' checkbox to true.

If the status has changed to Inactive, check if the Account has other services in 'active' status with the same Product Name. If not - set the 'Active ....' checkbox to false.

6 respuestas
  1. 27 jun 2023, 23:27
    @Dominika A

    where do you retrieve other associated service records ( in the Get Record?) ? to be sure I understand if one of them (other that the one that triggered the flow) is active, I suppose the fields are not set to inactive ? Could you please provide a test sample to fully understand.

    Thanks

    Br

    Eric

0/9000