I have created a singlestep and there is a requirement to autorestart the assistant after executing the Ok command.
But there is an issue with the autorestart functionality.
I do the following in my Ok command, where I execute function and get the output assigned to a structure.

As long as I don’t use the structure variable to assign attributes, as in above, the autorestart is working as expected.
But as soon as I put below highlighted code to assign the output value to my desired attribute, the autorestart does not work anymore.

I tried to avoid structures as a variable and directly call functions and assign the relevant attributes with the output. But when there are multiple call statements, again the autorestart does not work.
Is there a solution for this?