Whats the recommended way of waiting for longer period using workflow.await() inside loop?

Hi team,

I have a use-case where i need to send message regarding expiration of subscription (very similar to subscription workflow), from searching i got to know temporal doesn’t consume resources if workflow is blocked for long time using workflow.await()(here)

however, if workflow waits for very long time i.e 30days and 45days (or even more lets say 90days) after workflow scheduling, is it recommended to use:

  • for loop with list of reminders in days and workflow.await(<time_in_days>,condition)
    • as similar to subscription workflow example
  • or, should i use parent-child workflows having multiple workflows?

Thanks in Advance.

Can anyone answer this question.

I used 90 days await, and it seems to working as per logic.