# Conditional nodes or function

**URL:** <https://forums.losant.com/t/conditional-nodes-or-function/2724>\
**Category:** Help\
**Tags:** workflow\
**Created:** [March 11, 2020, 8:57pm UTC](https://forums.losant.com/t/conditional-nodes-or-function/2724 "2020-03-11T20:57:08Z")\
**Posts on this page:** 2\
**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:** [March 11, 2020, 8:57pm UTC](https://forums.losant.com/t/conditional-nodes-or-function/2724/1 "2020-03-11T20:57:08Z")

</div>

I have a bunch of different conditions from time series measurements that needs to be evaluated before a certain flag would be set.  
I think I know how I could do it with several conditional nodes, but is it more efficient, processing wise, if I make a function that does the same thing?

---

<div class="post-metadata">

**Author:** ![anaptfox](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/anaptfox/32/873_2.png) [@anaptfox](https://forums.losant.com/u/anaptfox)\
**Post date:** [March 12, 2020, 3:11pm UTC](https://forums.losant.com/t/conditional-nodes-or-function/2724/4 "2020-03-12T15:11:49Z")

</div>

@Lars_Andersson,

This 100% depends on your use case. However, the golden rule we follow is:

Only use the Function Node when you can’t or it would be extremely difficult to perform the action with other nodes.
