# CYCLE DETERMINATION

**URL:** <https://forum.knime.com/t/cycle-determination/19733>\
**Category:** KCH Workflows\
**Created:** [November 27, 2019, 3:16pm UTC](https://forum.knime.com/t/cycle-determination/19733 "2019-11-27T15:16:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hub](https://forum-cdn.knime.com/user_avatar/forum.knime.com/hub/32/5438_2.png) [@Hub](https://forum.knime.com/u/Hub)\
**Post date:** [November 27, 2019, 3:16pm UTC](https://forum.knime.com/t/cycle-determination/19733/1 "2019-11-27T15:16:31Z")

</div>

This workflow determines which event belongs to same cycle and assigns unique identifier for each cycle. This is done by marking first event in each cycle with unique identifier and then populating other events using Missing Value node. If every cycle begins with same event number (1) then determening is easy and done in bottom branch. If not then determination is done by comparing current event row value to following event value and is done in upper branch.

* * *
This is a companion discussion topic for the original entry at [https://kni.me/w/UOB-F6YIL6cqtPZL](https://kni.me/w/UOB-F6YIL6cqtPZL)

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [June 23, 2023, 8:38pm UTC](https://forum.knime.com/t/cycle-determination/19733/2 "2023-06-23T20:38:58Z")

</div>

Closed on June 23, 2023, 8:38pm UTC


