# Can anyone find out what mistake i have done. this is not running

**URL:** <https://forum.dynamobim.com/t/can-anyone-find-out-what-mistake-i-have-done-this-is-not-running/100121>\
**Category:** Uncategorized\
**Created:** [April 16, 2024, 2:17pm UTC](https://forum.dynamobim.com/t/can-anyone-find-out-what-mistake-i-have-done-this-is-not-running/100121 "2024-04-16T14:17:42Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vikas.kpoojary](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikas.kpoojary/32/178920_2.png) [@vikas.kpoojary](https://forum.dynamobim.com/u/vikas.kpoojary)\
**Post date:** [April 16, 2024, 2:17pm UTC](https://forum.dynamobim.com/t/can-anyone-find-out-what-mistake-i-have-done-this-is-not-running/100121/1 "2024-04-16T14:17:42Z")

</div>

![woksets for revit links_2024-04-16_07-48-16](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/9/793bf9e19f6e857897115a3f2cf9f0b59c512a7a.png)

[woksets for revit links.dyn](https://forum.dynamobim.com/uploads/short-url/kmAm7VB3obIDm2PjfazmcuHw2AI.dyn) (44.4 KB)

This dyn is actually for eliminate the existing workset and to create &assign workset for the newly added Revit links. But its not working

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [April 16, 2024, 2:21pm UTC](https://forum.dynamobim.com/t/can-anyone-find-out-what-mistake-i-have-done-this-is-not-running/100121/2 "2024-04-16T14:21:40Z")

</div>

What does the error say? I’m guessing it’s something about not being a numeric value. Provide the workset element instead of the Id and see what happens.

---

<div class="post-metadata">

**Author:** ![vikas.kpoojary](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikas.kpoojary/32/178920_2.png) [@vikas.kpoojary](https://forum.dynamobim.com/u/vikas.kpoojary)\
**Post date:** [April 16, 2024, 2:39pm UTC](https://forum.dynamobim.com/t/can-anyone-find-out-what-mistake-i-have-done-this-is-not-running/100121/3 "2024-04-16T14:39:54Z")

</div>

I checked with numeric one also but still not working. If i provide only one ID to the value its running fine.

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [April 16, 2024, 2:40pm UTC](https://forum.dynamobim.com/t/can-anyone-find-out-what-mistake-i-have-done-this-is-not-running/100121/4 "2024-04-16T14:40:48Z")

</div>

What does the error say?

---

<div class="post-metadata">

**Author:** ![vikas.kpoojary](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikas.kpoojary/32/178920_2.png) [@vikas.kpoojary](https://forum.dynamobim.com/u/vikas.kpoojary)\
**Post date:** [April 16, 2024, 2:50pm UTC](https://forum.dynamobim.com/t/can-anyone-find-out-what-mistake-i-have-done-this-is-not-running/100121/5 "2024-04-16T14:50:14Z")

</div>

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/6/e63bddf48aa20973e6cb0bd84c00a5a996fe964f.jpeg)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [April 16, 2024, 3:25pm UTC](https://forum.dynamobim.com/t/can-anyone-find-out-what-mistake-i-have-done-this-is-not-running/100121/6 "2024-04-16T15:25:41Z")

</div>

Check the `Object.Type` of the worset Ids. They should be numbers. If they’re not, you need to convert them.
