Hey @mat_hijs ,
Please just place CC component in your assembly, and use Capture current status to let iLogic to generate the code for you.