List action based on users database entry

In the above app, in learn section, there are different courses. I want users to be redirected to a sales page if they don’t own it and if they own it, it forwards them to the modules section.
But it’s not working for some reason.

Can you please send your actions screenshot and database structure for users and Courses.

Normally you need conditionnal action for If user own it > Module section OR > SALES PAGE

Above is a clonable app. you can have look at the structure

Thank you I will see it