You cannot do the “if then” calculation on the Compentency Assessment model using the action framework.
You can do that on page load - which would happen if you built the queue with a page include. Use the model property “Create new row if none exists” if you go this route.
If you really need to keep this on one page - you will have to do this “if then” operation in a Snippet.