The only way to use the shortcode is to know the ID of the course that was taken. Without the post ID in the shortcode then ACF uses the ID of the current post. I have not used what you are using so I have no idea what the current post would be in your situation.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users