Hi,
I have a custom field - cycle which is a single list select,
It's values are the 2 last digit of a year and a sequential number (week number divided by 2).
For example, possible values:
I would like to use a manual trigger in automation that when I run it, a that cycle field gets populated by the last 2 digits of the current year and the week number padded to 2 digits (so I don't get 25-9 but rather 2509
What I do know is:
- now.format("yy") - will probably give me the year's last 2 digits (is that correct)
- {now.format("w").LeftPad(2,"0")}
How can I make the above happen?
- Divide the week number by 2 rounded up
- Set the value of cycle to be the concatenation of all.
The current automation:

Thanks