# Get machine data in checklist scenario

**URL:** <https://community.tulip.co/t/get-machine-data-in-checklist-scenario/5852>\
**Category:** Support, Troubleshooting, & Help\
**Created:** [July 19, 2022, 10:47pm UTC](https://community.tulip.co/t/get-machine-data-in-checklist-scenario/5852 "2022-07-19T22:47:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jas](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@jas](https://community.tulip.co/u/jas)\
**Post date:** [July 19, 2022, 10:47pm UTC](https://community.tulip.co/t/get-machine-data-in-checklist-scenario/5852/1 "2022-07-19T22:47:56Z")

</div>

We currently have a checklist with classic steps types like Number, Text, Acknowledge, etc. (see Dynamic Workinstruction App).

Now we have the requirement to add another type: Machine attribute.

I don’t understand how I can enable the operator to create a checklist where he will be able to select the machine and the attribute and during checklist execution, the tag from the machine will auto populate a variable (text box).

Any suggestions?

---

<div class="post-metadata">

**Author:** ![RussWaddell](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/russwaddell/32/3774_2.png) [@RussWaddell](https://community.tulip.co/u/RussWaddell)\
**Post date:** [July 20, 2022, 5:57pm UTC](https://community.tulip.co/t/get-machine-data-in-checklist-scenario/5852/2 "2022-07-20T17:57:24Z")

</div>

You’ve got to have the machine tags in a table, then populate the variable against the table of machine tags. Are you using the dynamic workinstruction app mostly as written in the example, or have you modified it heavily?

---

<div class="post-metadata">

**Author:** ![jas](https://avatars.discourse-cdn.com/v4/letter/j/b19c9b/32.png) [@jas](https://community.tulip.co/u/jas)\
**Post date:** [July 20, 2022, 8:34pm UTC](https://community.tulip.co/t/get-machine-data-in-checklist-scenario/5852/3 "2022-07-20T20:34:23Z")

</div>

For testing purposes, I am using the Dynamic Workinstruction App from the Library.

I have the machine data in a table and I can load the record. However, next, I would like to read the OPC value of the dynamically selected machine attribute. For Triggers, I don’t see the option to pass a variable for Machine or Machine Activity Field. It only shows the static list of Machines that I have set-up.

---

<div class="post-metadata">

**Author:** ![RussWaddell](https://sea2.discourse-cdn.com/flex020/user_avatar/community.tulip.co/russwaddell/32/3774_2.png) [@RussWaddell](https://community.tulip.co/u/RussWaddell)\
**Post date:** [July 21, 2022, 2:48pm UTC](https://community.tulip.co/t/get-machine-data-in-checklist-scenario/5852/4 "2022-07-21T14:48:16Z")

</div>

Okay that all makes sense so far. Here’s an example trigger (credit to @Pete_Hartnett):

 ![Screen Shot 2022-07-21 at 10.46.32 AM](https://us1.discourse-cdn.com/flex020/uploads/agilemfg/original/2X/7/715d4fb44942077ce62de5e5bac86dd0ee174a1d.jpeg)  
  

I think there are also going to be some underlying architectural considerations that impact how to build this right. Couple of questions on that front:

How many variables from the machine or activity?  
How often will you pull in machine or activity field data?  
Where do you want to manage complexity: For example in triggers/variables, in one or more tables, in steps, etc?
