Skip to main content

Hi All,

we have a requirement to activate and deactivate filter condition on some status and if that filter condition is already activated then there is no need to activate it again and run model query, so is there any way to check if model’s filter condition is already activated or not in snippet code.

Regards,
Akanksha

Hello Akanksha,

How are you currently running through the actions you described above?

It seems like you could potentially use an action sequence with branch actions on the status value to determine if the condition should be activated or deactivated. I’m not sure what kind of setup you currently have, but I think you can get the desired results without writing additional code. 

Here is a link to our docs on branch actions: https://docs.skuid.com/latest/en/skuid/action-framework/action-list/actions-logic.html#branch


Thanks,
Clark


Reply