# Trouble scaling an value from payload

**URL:** <https://forums.losant.com/t/trouble-scaling-an-value-from-payload/2110>\
**Category:** Help\
**Tags:** workflow\
**Created:** [August 21, 2019, 8:08pm UTC](https://forums.losant.com/t/trouble-scaling-an-value-from-payload/2110 "2019-08-21T20:08:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [August 21, 2019, 8:08pm UTC](https://forums.losant.com/t/trouble-scaling-an-value-from-payload/2110/1 "2019-08-21T20:08:45Z")

</div>

I have a workflow grabbing 2 devices via a particle integration and updating attributes via Device state using Device id on the payload.  
I need to scale these before showing on a dashboard.  
But in put from these devices are not always on the payload.  
How do I best do this?

---

<div class="post-metadata">

**Author:** ![JuliaKempf](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/juliakempf/32/2446_2.png) [@JuliaKempf](https://forums.losant.com/u/JuliaKempf)\
**Post date:** [August 22, 2019, 1:27pm UTC](https://forums.losant.com/t/trouble-scaling-an-value-from-payload/2110/2 "2019-08-22T13:27:52Z")

</div>

Hi Lars,

Could you clarify this question for me? Are you saying you don’t always know the device ID when the Particle Node triggers?

Thanks!  
Julia

---

<div class="post-metadata">

**Author:** ![Lars\_Andersson](https://avatars.discourse-cdn.com/v4/letter/l/f05b48/32.png) [@Lars\_Andersson](https://forums.losant.com/u/Lars_Andersson)\
**Post date:** [August 22, 2019, 5:01pm UTC](https://forums.losant.com/t/trouble-scaling-an-value-from-payload/2110/3 "2019-08-22T17:01:46Z")

</div>

all tags were not always in every transmission, but I’m now verifying the payload before scaling.
