# Issues Keeping Code Blocks Populated After Dynamo Script Deployment

**URL:** <https://forum.orkestra.online/t/issues-keeping-code-blocks-populated-after-dynamo-script-deployment/149>\
**Category:** General\
**Created:** [June 27, 2024, 8:22pm UTC](https://forum.orkestra.online/t/issues-keeping-code-blocks-populated-after-dynamo-script-deployment/149 "2024-06-27T20:22:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jblanchard](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jblanchard](https://forum.orkestra.online/u/jblanchard)\
**Post date:** [June 27, 2024, 8:22pm UTC](https://forum.orkestra.online/t/issues-keeping-code-blocks-populated-after-dynamo-script-deployment/149/1 "2024-06-27T20:22:36Z")

</div>

Hello! I’m finding a new issue as of the past few days (I believe) with some scripts that contain code blocks - when running these scripts via Quick Access, the code blocks return null values rather than their strings. Opening up these scripts in Dynamo through Orkestra, I see the issue persists though creating a new code block with the exact same string typed in will return a successful run. I’m on Orkestra 1.8.3 and the script being run is relatively simple, merely capitalizing view names. I was wondering if anyone else was encountering the same issue with code blocks - I have somewhat of a similar experience using Notes in the Grasshopper version of Orkestra as well when deploying Grasshopper scripts so the issue could be related.

---

<div class="post-metadata">

**Author:** ![m.elayoubi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.orkestra.online/m.elayoubi/32/12_2.png) [@m.elayoubi](https://forum.orkestra.online/u/m.elayoubi)\
**Post date:** [June 28, 2024, 9:20am UTC](https://forum.orkestra.online/t/issues-keeping-code-blocks-populated-after-dynamo-script-deployment/149/2 "2024-06-28T09:20:12Z")

</div>

Hi there @jblanchard !  
Thanks so much for reporting this. Would it be possible to share a screebshot of the codeblocks producing this ?  
It sounds like it could be one of four things :

- a change in an ootb method between dynamo versions
- issue with the data being passed to the codeblock
- a method used in the code block that is from a zero touch package
- a bug we aren’t aware of !😅

Looking forwarw to figuring this one out .

---

<div class="post-metadata">

**Author:** ![jblanchard](https://avatars.discourse-cdn.com/v4/letter/j/d6d6ee/32.png) [@jblanchard](https://forum.orkestra.online/u/jblanchard)\
**Post date:** [June 28, 2024, 1:28pm UTC](https://forum.orkestra.online/t/issues-keeping-code-blocks-populated-after-dynamo-script-deployment/149/3 "2024-06-28T13:28:35Z")

</div>

Hi Mostafa,

Here’s what we’re running with, after opening the Orkestra-deployed version and hitting Run:

 ![](https://europe1.discourse-cdn.com/flex017/uploads/orkestraonline/original/1X/dd431a6b9c1beb89621f6dd919664207684f0bbd.png)  
Though these are fairly simple strings, even hooking up a String converter didn’t help and the only thing that fixed a run was to make a new Code Block, copy/paste the string, and reattach the wires. Any advice is greatly appreciated!  
-James
